mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
rename heavyLoad to 500
This commit is contained in:
parent
be9c370d25
commit
a3e75da2ba
2 changed files with 5 additions and 5 deletions
|
|
@ -48,11 +48,11 @@ options =
|
|||
|
||||
mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, ->
|
||||
expressApp
|
||||
.use (req, res, next) ->
|
||||
if toobusy()
|
||||
return res.redirect 307, '/heavyLoad.html'
|
||||
else
|
||||
next()
|
||||
# .use (req, res, next) ->
|
||||
# if toobusy()
|
||||
# return res.redirect 307, '/500.html'
|
||||
# else
|
||||
# next()
|
||||
|
||||
.use(express.favicon())
|
||||
# Gzip static files and serve from memory
|
||||
|
|
|
|||
Loading…
Reference in a new issue