增加下载同步功能,可以导出已下载作品。避免另一个设备的重复下载,修复日志bug

This commit is contained in:
2025-10-01 18:58:50 +08:00
parent d3121bf7dd
commit 0d294536ca
23 changed files with 1818 additions and 230 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ function loggerMiddleware(req, res, next) {
const isArtistArtworksQuery = /^\/api\/artist\/\d+\/artworks/.test(req.path);
// 过滤掉作品详情请求
const isArtworkDetailQuery = /^\/api\/artwork\/\d+/.test(req.path);
const isArtworkDetailQuery = /^\/(?:api\/)?artwork\/\d+/.test(req.path);
// 过滤掉仓库下载检查请求
const isRepositoryCheckDownloadedQuery = /^\/api\/repository\/check-downloaded\/\d+/.test(req.path);