mirror of
https://github.com/danog/code-server.git
synced 2024-11-26 20:34:56 +01:00
Fix cookie domain
Had double Domain=
This commit is contained in:
parent
210fc049c4
commit
476379a77e
@ -130,7 +130,7 @@ export const getCookieDomain = (host: string, proxyDomains: string[]): string |
|
||||
})
|
||||
|
||||
logger.debug("got cookie doman", field("host", host))
|
||||
return host ? `Domain=${host}` : undefined
|
||||
return host || undefined
|
||||
}
|
||||
|
||||
declare module "express" {
|
||||
|
Loading…
Reference in New Issue
Block a user