From 076912c6486f79badce5402931a13ccbe42cfa16 Mon Sep 17 00:00:00 2001 From: miloschwartz Date: Sun, 5 Oct 2025 10:26:02 -0700 Subject: [PATCH] fix hostname in set cookie --- src/actions/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/server.ts b/src/actions/server.ts index 655cbc63..e2b2d018 100644 --- a/src/actions/server.ts +++ b/src/actions/server.ts @@ -57,7 +57,7 @@ function parseSetCookieString( } 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) { options.domain = d; }