Skip to content

Commit

Permalink
feat: ignore favico
Browse files Browse the repository at this point in the history
  • Loading branch information
iwaduarte committed Oct 13, 2022
1 parent e85f1b2 commit df00fd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df00fd3

Please sign in to comment.