mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 15:56:40 +00:00
Disable express' x-powered-by header
Change-type: patch Signed-off-by: Pagan Gazzard <page@resin.io>
This commit is contained in:
parent
d076d59499
commit
660d9ff6f3
@ -29,6 +29,7 @@ module.exports = class SupervisorAPI
|
||||
constructor: ({ @config, @eventTracker, @routers, @healthchecks }) ->
|
||||
@server = null
|
||||
@_api = express()
|
||||
@_api.disable('x-powered-by')
|
||||
|
||||
@_api.get '/v1/healthy', (req, res) =>
|
||||
Promise.map @healthchecks, (fn) ->
|
||||
|
Loading…
Reference in New Issue
Block a user