Compare commits

..

2 Commits

Author SHA1 Message Date
07dbaea8ec Merge branch 'master' of http://121.14.203.73:9030/XiaoMo/alist-proxy 2025-04-29 16:09:09 +08:00
e5d1aa67f8 123212321 2025-04-29 15:44:07 +08:00

View File

@ -114,7 +114,7 @@ const server = http.createServer(async (req, res) => {
}
// 检查第一个路径只能是 avatar,endpoint,go,bbs,www
if (!['avatar', 'go', 'bbs', 'www', 'url', 'thumb'].includes(reqPath)) {
if (!['avatar', 'go', 'bbs', 'www', 'url', 'thumb', 'app'].includes(reqPath)) {
res.writeHead(404, { 'Content-Type': 'text/plain;charset=UTF-8' });
res.end('Not Found');
return;