优化welcome页文件上传相关逻辑

This commit is contained in:
2026-09-21 20:54:18 +08:00
parent 33d9f4b834
commit 011c3ac436
6 changed files with 99 additions and 69 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ router.get('/status', wrap((req, res) => {
port: cfg.port,
auth_enabled: !!(cfg.auth && cfg.auth.users && cfg.auth.users.length),
running_sessions: engine.activeRuns(),
// 前端上传前的大图压缩参数(阈值/尺寸/质量),避免前端写死
// 前端上传预处理参数(大图压缩阈值/尺寸/质量、大文件确认阈值),避免前端写死
upload: cfg.upload || {},
});
}));