1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-23 00:16:25 +01:00

fix: enable trust-proxy

This commit is contained in:
Ivar Conradi Østhus 2020-10-02 16:40:42 +02:00
parent cd25078792
commit c65f7c27ee

View File

@ -20,7 +20,7 @@ module.exports = function(config) {
const baseUriPath = config.baseUriPath || '';
app.set('trust proxy');
app.set('trust proxy', true);
app.disable('x-powered-by');
app.set('port', config.port);
app.locals.baseUriPath = baseUriPath;