diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte deleted file mode 100644 index 7c88b91..0000000 --- a/src/routes/+error.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - -
-

404

-

- {#if $page.status === 404} - The page you are trying to look for could not be found. - {:else} - An unexpected error occurred. - {/if} -

-
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte new file mode 120000 index 0000000..6d4ee94 --- /dev/null +++ b/src/routes/+error.svelte @@ -0,0 +1 @@ ++page.svelte \ No newline at end of file diff --git a/svelte.config.js b/svelte.config.js index 67e375a..1567a6a 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -13,7 +13,7 @@ const config = { // If your environment is not supported or you settled on a specific environment, switch out the adapter. // See https://kit.svelte.dev/docs/adapters for more information about adapters. adapter: adapter({ - fallback: 'index.html' + fallback: '404.html' }) } };