This commit is contained in:
QuiteAFancyEmerald 2020-11-06 17:57:53 +00:00
commit 63996843b1

4
app.js
View file

@ -490,7 +490,7 @@ app.get('/', async (req, res, t) => res.send(fs.readFileSync(path.join(__dirname
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'));
}
@ -572,4 +572,4 @@ app.use(async (req, res, next) => {
res.redirect(307, config.prefix + btoa(req.session.url) + req.url)
} else return next();
});
});