下载模组更新,新增下载组件,下载监听改为全局,全量改为增量监听

This commit is contained in:
2025-08-31 06:41:46 +08:00
parent aa04f9d03f
commit ad5dfc64cb
17 changed files with 1662 additions and 285 deletions
+5 -2
View File
@@ -42,8 +42,11 @@ function customLogger(req, res, next) {
// 过滤掉图片代理请求
const isImageProxy = req.path === '/api/proxy/image';
// 只记录API请求和重要请求,排除静态资源和图片代理
if (!isStaticResource && !isImageProxy) {
// 过滤掉下载任务状态查询请求
const isDownloadTasksQuery = req.path === '/api/download/tasks';
// 只记录API请求和重要请求,排除静态资源、图片代理和下载任务查询
if (!isStaticResource && !isImageProxy && !isDownloadTasksQuery) {
const start = Date.now();
// 原始响应结束方法