remove appfog redirect for now

This commit is contained in:
Tyler Renelle
2013-01-17 15:39:10 -05:00
parent 13e7ac576b
commit f21c6b0cbf
+5 -5
View File
@@ -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)