mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +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;
|
||||
|
||||
app.set('trust proxy');
|
||||
app.disable('x-powered-by');
|
||||
app.set('port', config.port);
|
||||
app.locals.baseUriPath = baseUriPath;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user