1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Disable x-powered-by express header

This commit is contained in:
ivaosthu 2017-06-29 11:12:44 +02:00 committed by Ivar Conradi Østhus
parent 3f3574e168
commit f826c837fd

View File

@ -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;