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

View File

@ -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
}