Replies: 2 comments 1 reply
-
Midway Versions(Midway 版本)信息有误,补充: |
Beta Was this translation helpful? Give feedback.
-
应该可以支持,容我看一下。 |
Beta Was this translation helpful? Give feedback.
-
Midway Versions(Midway 版本)信息有误,补充: |
Beta Was this translation helpful? Give feedback.
-
应该可以支持,容我看一下。 |
Beta Was this translation helpful? Give feedback.
-
Describe the problem(描述问题)
在实际业务中,不同接口对应的文件白名单配置可能是不一样的,比如/avatar/upload允许图片类型,
/profile/upload允许pdf、word类型。
现在的配置方式是这样:whitelist?: string[] | null;
希望能支持这种配置方式:whitelist?: (url: string) => string[] | null;
Midway Versions(Midway 版本)
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions