diff --git a/app.js b/app.js index ad85eff1..5b16bff6 100644 --- a/app.js +++ b/app.js @@ -483,7 +483,7 @@ app.get('/', async (req, res) => { return res.send(fs.readFileSync(path.join(__dirname, 'public', 'info.html'), 'utf8')); } - switch (req.url == '/?k') { + switch (req.url) { case '/?k': return res.send(fs.readFileSync(path.join(__dirname, 'public', 'pages', 'frames', 'krunker.html'), 'utf8')); } @@ -565,4 +565,4 @@ app.use(async (req, res, next) => { res.redirect(307, config.prefix + btoa(req.session.url) + req.url) } else return next(); -}); \ No newline at end of file +});