mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
remove toobusy (i can't figure this one out)
This commit is contained in:
parent
92830be2e7
commit
3d57894b9e
1 changed files with 5 additions and 5 deletions
|
|
@ -48,11 +48,11 @@ options =
|
||||||
|
|
||||||
mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, ->
|
mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, ->
|
||||||
expressApp
|
expressApp
|
||||||
.use (req, res, next) ->
|
#.use (req, res, next) ->
|
||||||
if toobusy()
|
# if toobusy()
|
||||||
return res.redirect 307, '/500.html'
|
# return res.redirect 307, '/500.html'
|
||||||
else
|
# else
|
||||||
next()
|
# next()
|
||||||
|
|
||||||
.use(express.favicon())
|
.use(express.favicon())
|
||||||
# Gzip static files and serve from memory
|
# Gzip static files and serve from memory
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue