udpate
This commit is contained in:
@@ -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))) {
|
||||
// 简单应用路由处理
|
||||
// 设置跨域
|
||||
|
||||
Reference in New Issue
Block a user