mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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',
 | 
					        name: 'unleash-session',
 | 
				
			||||||
        keys: [config.secret],
 | 
					        keys: [config.secret],
 | 
				
			||||||
        maxAge: config.sessionAge,
 | 
					        maxAge: config.sessionAge,
 | 
				
			||||||
        secure: !!config.secureHeaders,
 | 
					        secureProxy: !!config.secureHeaders,
 | 
				
			||||||
        path: config.baseUriPath === '' ? '/' : config.baseUriPath,
 | 
					        path: config.baseUriPath === '' ? '/' : config.baseUriPath,
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user