remove express header

This commit is contained in:
Henry Oswald 2018-07-16 15:38:23 +01:00
parent 846c2b1e28
commit a767bfe964

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) ->