mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-24 20:06:55 +01:00
Disable x-powered-by express header
This commit is contained in:
parent
ee76f21a92
commit
5780bf30db
@ -21,6 +21,7 @@ module.exports = function(config) {
|
|||||||
const publicFolder = config.publicFolder;
|
const publicFolder = config.publicFolder;
|
||||||
|
|
||||||
app.set('trust proxy');
|
app.set('trust proxy');
|
||||||
|
app.disable('x-powered-by');
|
||||||
app.set('port', config.port);
|
app.set('port', config.port);
|
||||||
app.locals.baseUriPath = baseUriPath;
|
app.locals.baseUriPath = baseUriPath;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user