mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-16 21:18:50 +00:00
clean up
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user