app/middlewares/express.js
Function FooterMiddleware
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FooterMiddleware: (app) => {
const isProduction = app.get('env') === 'production';
app.use((req, res, next) => {
next(createError(404, 'Error 404 not found'));