rename heavyLoad to 500

This commit is contained in:
Tyler Renelle 2013-01-19 14:16:39 -05:00
parent be9c370d25
commit a3e75da2ba
2 changed files with 5 additions and 5 deletions

View file

@ -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, '/heavyLoad.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