diff --git a/src/config/config.default.ts b/src/config/config.default.ts index 20ebb96..44a9e2c 100644 --- a/src/config/config.default.ts +++ b/src/config/config.default.ts @@ -14,6 +14,10 @@ export default { '.html': 'ejs', }, }, + // 静态文件配置 + staticFile: { + buffer: true, + }, // 文件上传 upload: { fileSize: '200mb',