123212321
This commit is contained in:
parent
9ab8bf5c5d
commit
e5d1aa67f8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user