diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte new file mode 100644 index 0000000..ea66ce2 --- /dev/null +++ b/src/routes/+error.svelte @@ -0,0 +1,39 @@ + + + + + 404 + + Page Not Found + + + The page you are looking for does not exist. + + + + Go To Home + + + + + + diff --git a/svelte.config.js b/svelte.config.js index 07de613..f20b0ac 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -9,7 +9,7 @@ const config = { adapter: adapter({ pages: "build", assets: "build", - fallback: null, + fallback: "404.html", precompress: false, strict: true, }),
+ The page you are looking for does not exist. +