本地静态文件改为流式传输

This commit is contained in:
cool 2024-01-02 19:18:26 +08:00
parent 1d1e11bb3a
commit 9a66469241

View File

@ -14,6 +14,10 @@ export default {
'.html': 'ejs', '.html': 'ejs',
}, },
}, },
// 静态文件配置
staticFile: {
buffer: true,
},
// 文件上传 // 文件上传
upload: { upload: {
fileSize: '200mb', fileSize: '200mb',