Use the provided host in the cookie

This commit is contained in:
Owen
2026-04-24 11:55:09 -07:00
parent 6a96f743aa
commit d08f276794

View File

@@ -198,7 +198,7 @@ export async function exchangeSession(
const cookieName = `${config.getRawConfig().server.session_cookie_name}`;
const cookie = serializeResourceSessionCookie(
cookieName,
resource.fullDomain!,
cleanHost,
token,
!resource.ssl,
expiresAt ? new Date(expiresAt) : undefined