diff --git a/templates/app.js b/templates/app.js index d75bcc6..667823d 100644 --- a/templates/app.js +++ b/templates/app.js @@ -38,6 +38,7 @@ app.use(helmet()); ` : '' } +app.get('/favicon.ico', (req, res) => res.status(204)); app.use('/', mainRouter); ${opts.sequelize ? "app.use('/users', usersRouter);" : ''} // catch 404 and forward to error handler