remove appfog redirect for now
This commit is contained in:
@@ -47,11 +47,11 @@ options =
|
||||
|
||||
mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, ->
|
||||
expressApp
|
||||
.use((req, res, next) ->
|
||||
if toobusy()
|
||||
return res.redirect 307, 'https://habitrpg.aws.af.cm/'
|
||||
next()
|
||||
)
|
||||
# .use((req, res, next) ->
|
||||
# if toobusy()
|
||||
# return res.redirect 307, 'https://habitrpg.aws.af.cm/'
|
||||
# next()
|
||||
# )
|
||||
.use(express.favicon())
|
||||
# Gzip static files and serve from memory
|
||||
.use(gzippo.staticGzip publicPath, maxAge: ONE_YEAR)
|
||||
|
||||
Reference in New Issue
Block a user