From c031fe58523b526efacb813474550783aecc798f Mon Sep 17 00:00:00 2001 From: Cadu Gomes Date: Sat, 7 Sep 2024 11:46:58 -0300 Subject: [PATCH] fix: auth cookie domain --- src/server/routes/rest/auth/authApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/routes/rest/auth/authApi.ts b/src/server/routes/rest/auth/authApi.ts index ec8e41c..0f2e316 100644 --- a/src/server/routes/rest/auth/authApi.ts +++ b/src/server/routes/rest/auth/authApi.ts @@ -23,7 +23,7 @@ function getDomain(host: string | undefined) { return ''; } else { const server = host.split('.').slice(1).join('.'); - return `domain=${server}`; + return `domain=.${server}`; } }