diff --git a/app.js b/app.js index 1886b147..c4883591 100644 --- a/app.js +++ b/app.js @@ -14,12 +14,7 @@ app.use(localprox.app); //Cloudflare Attack Mode Fix -app.post('/', async(req, res) => { - switch (req.url) { - case '/': - return res.send(fs.readFileSync(path.join(__dirname, 'views', 'index.html'), 'utf8')); - } -}); +app.post('/', async(req, res) => res.send(fs.readFileSync(path.join(__dirname, 'views', 'index.html'), 'utf8'))); //Querystring Navigation