fix hostname in set cookie

This commit is contained in:
miloschwartz
2025-10-05 10:26:02 -07:00
parent bb28f856da
commit 076912c648

View File

@@ -57,7 +57,7 @@ function parseSetCookieString(
} }
if (!options.domain) { if (!options.domain) {
const d = host ? host : new URL(env.app.dashboardUrl).hostname; const d = host ? new URL(env.app.dashboardUrl).hostname : undefined;
if (d) { if (d) {
options.domain = d; options.domain = d;
} }