mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Attempt to avoid sveltekit routing
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user