mirror of
https://github.com/coder/code-server.git
synced 2024-12-26 03:05:00 +03:00
style: cookie doman => cookie domain (#4919)
Co-authored-by: Joe Previte <jjprevite@gmail.com>
This commit is contained in:
parent
44d74c170f
commit
b3cf4c32ff
@ -196,7 +196,7 @@ export const getCookieDomain = (host: string, proxyDomains: string[]): string |
|
||||
// default NGINX does this).
|
||||
!host.includes(".")
|
||||
) {
|
||||
logger.debug("no valid cookie doman", field("host", host))
|
||||
logger.debug("no valid cookie domain", field("host", host))
|
||||
return undefined
|
||||
}
|
||||
|
||||
@ -206,7 +206,7 @@ export const getCookieDomain = (host: string, proxyDomains: string[]): string |
|
||||
}
|
||||
})
|
||||
|
||||
logger.debug("got cookie doman", field("host", host))
|
||||
logger.debug("got cookie domain", field("host", host))
|
||||
return host || undefined
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user