1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

Fix cookie domain

Had double Domain=
This commit is contained in:
Asher 2020-11-03 16:44:08 -06:00
parent 210fc049c4
commit 476379a77e
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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" {