Skip to content

Commit

Permalink
added missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaps authored and Brutus5000 committed Nov 14, 2023
1 parent a2cbb14 commit 2288b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion express.js
Expand Up @@ -108,7 +108,7 @@ const appGetRouteArray = [
appGetRouteArray.forEach(page => app.get(`/${page}`, (req, res) => {
// disabled due https://github.com/FAForever/website/issues/445
if (['leaderboards', 'clans'].includes(page)) {
res.status(503).render('errors/503-known-issue')
return res.status(503).render('errors/503-known-issue')
}
res.render(page);
}));
Expand Down

0 comments on commit 2288b1f

Please sign in to comment.