diff --git a/source.js b/source.js index dcbd065..8941577 100644 --- a/source.js +++ b/source.js @@ -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;