This commit is contained in:
2025-11-28 20:05:12 +08:00
parent 39fab83b3d
commit f9169bcd8b
5 changed files with 410 additions and 0 deletions

View File

@@ -184,6 +184,11 @@ export const handleRequest = async (req: http.IncomingMessage, res: http.ServerR
// router自己管理
return;
}
// if (req.url === '/MP_verify_NGWvli5lGpEkByyt.txt') {
// res.writeHead(200, { 'Content-Type': 'text/plain' });
// res.end('NGWvli5lGpEkByyt');
// return;
// }
if (req.url && simpleAppsPrefixs.some(prefix => req.url!.startsWith(prefix))) {
// 简单应用路由处理
// 设置跨域