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

fix: Session cookie should set path to baseUriPath

This commit is contained in:
ivaosthu 2019-04-28 12:30:39 +02:00
parent 6afdff68f0
commit 032721083a

View File

@ -7,5 +7,6 @@ module.exports = function(config) {
name: 'unleash-session',
keys: [config.secret],
maxAge: config.sessionAge,
path: config.baseUriPath === '' ? '/' : config.baseUriPath,
});
};