mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 03:50:02 -04:00
Fixed a mistake
This commit is contained in:
parent
17d4b36639
commit
290b2968cc
1 changed files with 2 additions and 2 deletions
4
app.js
4
app.js
|
@ -483,7 +483,7 @@ app.get('/', async (req, res) => {
|
||||||
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'));
|
||||||
}
|
}
|
||||||
|
@ -565,4 +565,4 @@ app.use(async (req, res, next) => {
|
||||||
res.redirect(307, config.prefix + btoa(req.session.url) + req.url)
|
res.redirect(307, config.prefix + btoa(req.session.url) + req.url)
|
||||||
|
|
||||||
} else return next();
|
} else return next();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue