mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 03:50:02 -04:00
Minor Edit
This commit is contained in:
parent
b0fbfe20c0
commit
0bcd3ece6d
1 changed files with 1 additions and 6 deletions
7
app.js
7
app.js
|
@ -14,12 +14,7 @@ app.use(localprox.app);
|
||||||
|
|
||||||
//Cloudflare Attack Mode Fix
|
//Cloudflare Attack Mode Fix
|
||||||
|
|
||||||
app.post('/', async(req, res) => {
|
app.post('/', async(req, res) => res.send(fs.readFileSync(path.join(__dirname, 'views', 'index.html'), 'utf8')));
|
||||||
switch (req.url) {
|
|
||||||
case '/':
|
|
||||||
return res.send(fs.readFileSync(path.join(__dirname, 'views', 'index.html'), 'utf8'));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
//Querystring Navigation
|
//Querystring Navigation
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue