mirror of https://git.tuxpa.in/a/code-server.git
parent
7d02f34f71
commit
de568d446b
|
@ -868,6 +868,7 @@ export class HttpServer {
|
|||
// isn't setting the host header to match the access domain.
|
||||
host === "localhost"
|
||||
) {
|
||||
logger.debug("no valid cookie doman", field("host", host))
|
||||
return undefined
|
||||
}
|
||||
|
||||
|
@ -877,6 +878,7 @@ export class HttpServer {
|
|||
}
|
||||
})
|
||||
|
||||
logger.debug("got cookie doman", field("host", host))
|
||||
return host ? `Domain=${host}` : undefined
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue