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:
parent
3f3574e168
commit
f826c837fd
@ -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