Attempt to avoid sveltekit routing

This commit is contained in:
2025-01-23 16:50:58 +00:00
parent f32a4ed0af
commit 7b31f8efa0

View File

@@ -5,7 +5,7 @@ export const navigation = {
toHome: () => goto("/"), toHome: () => goto("/"),
toAbout: () => goto("/about"), toAbout: () => goto("/about"),
toContact: () => goto("/contact"), toContact: () => goto("/contact"),
toRepository: () => window.location.href = "/repo", // toRepository: () => window.location.href = "/repo",
to404: () => { to404: () => {
throw error(404, 'Page not found'); throw error(404, 'Page not found');
} }