From f704c77123c3eb00378a65c7e58ae6b3bef0b960 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Wed, 10 Jul 2024 22:18:31 +0200 Subject: [PATCH] try again Signed-off-by: Sam Therapy --- src/routes/+error.svelte | 15 +-------------- svelte.config.js | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) mode change 100644 => 120000 src/routes/+error.svelte 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' }) } };