style: cookie doman => cookie domain (#4919)

Co-authored-by: Joe Previte <jjprevite@gmail.com>
This commit is contained in:
Edouard Vincent 2022-03-01 07:43:41 -08:00 committed by GitHub
parent 44d74c170f
commit b3cf4c32ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ export const getCookieDomain = (host: string, proxyDomains: string[]): string |
// default NGINX does this). // default NGINX does this).
!host.includes(".") !host.includes(".")
) { ) {
logger.debug("no valid cookie doman", field("host", host)) logger.debug("no valid cookie domain", field("host", host))
return undefined 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 return host || undefined
} }