add r functions

This commit is contained in:
熊潇 2025-05-21 17:17:58 +08:00
parent ae459eabfe
commit 1e2f891f31

View File

@ -226,7 +226,7 @@ export const handleRequest = async (req: http.IncomingMessage, res: http.ServerR
res.write(msg || 'Not Found App\n'); res.write(msg || 'Not Found App\n');
res.end(); res.end();
}; };
if (app === 'ai' || app === 'resources') { if (app === 'ai' || app === 'resources' || app === 'r') {
return aiProxy(req, res, { return aiProxy(req, res, {
createNotFoundPage, createNotFoundPage,
}); });