From 99987f84446ce4fb9457696de070434706ae1a7b Mon Sep 17 00:00:00 2001
From: Ilion Beyst <ilion.beyst@gmail.com>
Date: Sun, 24 Jul 2022 17:49:31 +0200
Subject: use absolute paths for login and register

---
 web/pw-server/src/lib/components/navbar/UserControls.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/pw-server/src/lib/components/navbar/UserControls.svelte')

diff --git a/web/pw-server/src/lib/components/navbar/UserControls.svelte b/web/pw-server/src/lib/components/navbar/UserControls.svelte
index 5646982..334b3b4 100644
--- a/web/pw-server/src/lib/components/navbar/UserControls.svelte
+++ b/web/pw-server/src/lib/components/navbar/UserControls.svelte
@@ -41,8 +41,8 @@
     </a>
     <div class="sign-out" on:click={signOut}>Sign out</div>
   {:else}
-    <a class="account-href" href="login">Sign in</a>
-    <a class="account-href" href="register">Sign up</a>
+    <a class="account-href" href="/login">Sign in</a>
+    <a class="account-href" href="/register">Sign up</a>
   {/if}
 </div>
 
-- 
cgit v1.2.3

