aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-24 17:49:31 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-24 17:49:31 +0200
commit99987f84446ce4fb9457696de070434706ae1a7b (patch)
treed211d21160da73749b92038db49bf65645d41409 /web
parent109aaf27583a291ea8a7ca396dc57d45b99898aa (diff)
downloadplanetwars.dev-99987f84446ce4fb9457696de070434706ae1a7b.tar.xz
planetwars.dev-99987f84446ce4fb9457696de070434706ae1a7b.zip
use absolute paths for login and register
Diffstat (limited to 'web')
-rw-r--r--web/pw-server/src/lib/components/navbar/UserControls.svelte4
1 files changed, 2 insertions, 2 deletions
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>