From 0bcd3ece6d6a2c21cbeb5916524a7d81de751133 Mon Sep 17 00:00:00 2001 From: QuiteAFancyEmerald Date: Tue, 2 Feb 2021 18:49:11 +0000 Subject: [PATCH] Minor Edit --- app.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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