fix: linter issues

This commit is contained in:
K1ngfish3r
2026-04-23 01:04:42 +05:00
parent 5e195b7f53
commit 2396df38bb
111 changed files with 2738 additions and 2160 deletions
+8
View File
@@ -26,6 +26,14 @@ const settings: ServerSetting = {
};
const proxySettingMiddleware: Connect.NextHandleFunction = (req, res) => {
if (req.method === 'GET') {
res.statusCode = 200;
res.setHeader('Content-Type', 'application/json');
res.write(JSON.stringify(settings));
res.end();
return;
}
let str = '';
req.on('data', chunk => {
str += chunk;