mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -05:00
Okay, we'll just let Cloudflare compress things.
This commit is contained in:
parent
65d9186ef1
commit
9aa1d5a26c
1 changed files with 1 additions and 2 deletions
|
@ -47,8 +47,7 @@ setupExpressMiddleware = (app) ->
|
|||
app.use(express.bodyParser())
|
||||
app.use(express.methodOverride())
|
||||
app.use(express.cookieSession({secret:'defenestrate'}))
|
||||
if config.isProduction
|
||||
app.use(express.compress())
|
||||
#app.use(express.compress()) if config.isProduction # just let Cloudflare do it
|
||||
|
||||
setupPassportMiddleware = (app) ->
|
||||
app.use(authentication.initialize())
|
||||
|
|
Loading…
Reference in a new issue