This commit is contained in:
wukko
2022-08-16 13:14:19 +06:00
parent a5e081e2bf
commit e11ee6fb62
24 changed files with 106 additions and 115 deletions

View File

@@ -50,8 +50,8 @@ if (fs.existsSync('./.env')) {
try {
decodeURIComponent(req.path)
}
catch(e) {
return res.redirect(process.env.selfURL);
catch (e) {
return res.redirect(process.env.selfURL);
}
next();
});