From 9a66469241575a33837c31a9c4061f7f84a135d0 Mon Sep 17 00:00:00 2001 From: cool Date: Tue, 2 Jan 2024 19:18:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E9=9D=99=E6=80=81=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=94=B9=E4=B8=BA=E6=B5=81=E5=BC=8F=E4=BC=A0=E8=BE=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/config.default.ts | 4 ++++ 1 file changed, 4 insertions(+) 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',