Commit 4f517f32 authored by 成旭东's avatar 成旭东

文件上传大小上限设置为500mb

parent 9ea0fddc
Pipeline #28162 passed with stage
in 5 minutes 6 seconds
......@@ -21,7 +21,7 @@ export default (appInfo: { name: string; }) => {
'.xlsx',
'.xls',
],
fileSize: '100mb',
fileSize: '500mb',
};
config.projectRootPath = '/api';
......
......@@ -19,7 +19,7 @@ export default () => {
config.jwt = {
secret: '51e69bd6-7fdb-4a76-ac83-0d32b6f09723',
enable: true, // default is false
ignore: ['/api/login', '/api/estate/list/export'],
ignore: [ '/api/login', '/api/estate/list/export' ],
};
config.sequelize = {
......
......@@ -19,7 +19,7 @@ export default () => {
config.jwt = {
secret: '51e69bd6-7fdb-4a76-ac83-0d32b6f09723',
enable: true, // default is false
ignore: ['/api/login', '/api/estate/list/export'],
ignore: [ '/api/login', '/api/estate/list/export' ],
};
config.sequelize = {
......@@ -50,6 +50,6 @@ export default () => {
suppressRequestHeaders: [], // 不需要转发的请求头
}],
};
console.log(config,process.env)
console.log(config, process.env);
return config;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment