Muthu Kumar
6 years ago
5 changed files with 17 additions and 46 deletions
@ -1,28 +0,0 @@ |
|||
module.exports = { |
|||
"env": { |
|||
"es6": true, |
|||
"node": true |
|||
}, |
|||
"extends": "eslint:recommended", |
|||
"rules": { |
|||
"no-console": "off", |
|||
"no-var": "error", |
|||
"prefer-const": [ |
|||
"error", { |
|||
"destructuring": "all" |
|||
}], |
|||
"indent": [ |
|||
"error", |
|||
"tab" |
|||
], |
|||
"linebreak-style": [ |
|||
"error", |
|||
"unix" |
|||
], |
|||
"quotes": "off", |
|||
"semi": [ |
|||
"error", |
|||
"never" |
|||
] |
|||
} |
|||
}; |
@ -0,0 +1 @@ |
|||
module.exports = app => app.use((req, res, next) => res.redirect('/index.php' + req.originalUrl)); |
Loading…
Reference in new issue