Multiple changes to fix routing

This commit is contained in:
2025-01-24 10:45:22 +00:00
parent 334000e570
commit f99bc8a1e7
4 changed files with 12 additions and 3 deletions

View File

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