返回提交历史
Modified
src/routes/cache.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
fix: incomplete regex for stripped assets (#614)
066d07f8
代码差异
1 个文件
+1
-1
@@ -12,7 +12,7 @@ cacheRouter.get(/^\/origin\/[a-zA-Z0-9]+\/[0-9]+\/H\.Cache\.bin.*$/, (req, res)
12
12
}
13
13
});
14
14
15
cacheRouter.get(/\.bk2!/, async (req, res) => {
15
cacheRouter.get(/^\/0\/Lotus\/.+!.+$/, async (req, res) => {
16
16
try {
17
17
const dir = req.path.substr(0, req.path.lastIndexOf("/"));
18
18
const file = req.path.substr(dir.length + 1);