mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 03:50:02 -04:00
Merge branch 'master' of https://github.com/QuiteAFancyEmerald/HolyUnblockerPublic
This commit is contained in:
commit
63996843b1
1 changed files with 2 additions and 2 deletions
4
app.js
4
app.js
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
@ -572,4 +572,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