添加后台热更新上传

This commit is contained in:
luying
2020-09-23 19:47:09 +08:00
parent 9f57e52445
commit 3f5fa47b1b
7 changed files with 401 additions and 4 deletions

View File

@@ -33,6 +33,13 @@ export default (appInfo: EggAppInfo) => {
domainWhiteList: ['http://localhost:9000']
};
// 配置上传
config.multipart = {
fileSize: '50mb',
mode: 'stream',
fileExtensions: ['.zip', '.tar.gz'], // 扩展几种上传的文件格式
};
config.alinode = {
appid: '86043',
secret: '54ef0364995b0c4f2ab42150e29ad30df8327a3a',