From a8e9668c2b5e2627fa1ae9c77b98d600827eda1f Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 22 Jun 2021 12:19:12 +0200 Subject: [PATCH] Haha --- src/routes/index.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/index.svelte b/src/routes/index.svelte index a77665c83..e9f851d20 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -27,7 +27,8 @@ const timer = setInterval(() => { if (newWindow?.closed) { clearInterval(timer); - browser && location.reload(); + // WHY need to navigate to / to get cookies?! + browser && window.location.replace('/') } }, 100); }