module.exports = app => app.use((req, res, next) => res.redirect('/index.php' + req.originalUrl));