mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
fix: use secure proxy to session cookie
This commit is contained in:
parent
51f26be759
commit
5a58c2ea3f
@ -7,7 +7,7 @@ module.exports = function(config) {
|
||||
name: 'unleash-session',
|
||||
keys: [config.secret],
|
||||
maxAge: config.sessionAge,
|
||||
secure: !!config.secureHeaders,
|
||||
secureProxy: !!config.secureHeaders,
|
||||
path: config.baseUriPath === '' ? '/' : config.baseUriPath,
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user