From 5780bf30db180441e0fa4a9e04b0793a4deb4816 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Thu, 29 Jun 2017 11:12:44 +0200 Subject: [PATCH] Disable x-powered-by express header --- lib/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/app.js b/lib/app.js index 878d040697..d88a605781 100644 --- a/lib/app.js +++ b/lib/app.js @@ -21,6 +21,7 @@ module.exports = function(config) { const publicFolder = config.publicFolder; app.set('trust proxy'); + app.disable('x-powered-by'); app.set('port', config.port); app.locals.baseUriPath = baseUriPath;