From e712d51d0d00cdf7c83dc3dc36b0ae4144ed92f6 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 28 Sep 2022 23:39:25 +0800 Subject: refactor: Streamline public route names --- apps/kit/src/routes/(main)/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/kit/src/routes/(main)/+layout.svelte') diff --git a/apps/kit/src/routes/(main)/+layout.svelte b/apps/kit/src/routes/(main)/+layout.svelte index 7b0aad1..ec50c4b 100644 --- a/apps/kit/src/routes/(main)/+layout.svelte +++ b/apps/kit/src/routes/(main)/+layout.svelte @@ -24,7 +24,7 @@ if (sessionIsValid && isPublicRoute) { await goto("/home"); } else if (!sessionIsValid && !isPublicRoute) { - await goto("/signin"); + await goto("/sign-in"); } } -- cgit v1.3