7 lines
		
	
	
		
			146 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			7 lines
		
	
	
		
			146 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|  | export function createCookieConfig(req) { | ||
|  |   return { | ||
|  |     signed: !!req.signedCookies, | ||
|  |     domain: process.env.COOKIE_DOMAIN || 'localhost' | ||
|  |   }; | ||
|  | } |