remove express header

This commit is contained in:
Henry Oswald
2018-07-16 15:38:23 +01:00
parent 8d846f64a9
commit dd015a05cb

View File

@@ -35,6 +35,7 @@ TIMEOUT = 6 * 60 * 1000
app.use (req, res, next) ->
req.setTimeout TIMEOUT
res.setTimeout TIMEOUT
res.removeHeader("X-Powered-By")
next()
app.param 'project_id', (req, res, next, project_id) ->