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

2
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')); return res.send(fs.readFileSync(path.join(__dirname, 'public', 'info.html'), 'utf8'));
} }
switch (req.url == '/?k') { switch (req.url) {
case '/?k': case '/?k':
return res.send(fs.readFileSync(path.join(__dirname, 'public', 'pages', 'frames', 'krunker.html'), 'utf8')); return res.send(fs.readFileSync(path.join(__dirname, 'public', 'pages', 'frames', 'krunker.html'), 'utf8'));
} }