Muthu Kumar
6 years ago
1 changed files with 4 additions and 1 deletions
@ -1 +1,4 @@ |
|||
module.exports = app => app.use((req, res, next) => res.redirect('/index.php' + req.originalUrl)); |
|||
module.exports = app => app.use((req, res, next) => |
|||
req.originalUrl.includes('index.php') |
|||
? next() |
|||
: res.redirect('/index.php' + req.originalUrl)); |
|||
|
Loading…
Reference in new issue