From 018a10511fc2a7861e8a451c8df7f987cfd6ea01 Mon Sep 17 00:00:00 2001 From: qgustavor Date: Sun, 26 May 2024 01:24:46 -0300 Subject: [PATCH] More path related issues --- src/components/AppHeader.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index de1dbae..52fd0e5 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -16,7 +16,8 @@ $: ({ route } = $page.data) function changeLocale (locale) { - window.location = `./${locale}${route}` + goto(`/${locale}${route}`) + window.reload() } let theme = 'g90'