From 529c3e7905ad7d41ef8b49afd20753c0c9196867 Mon Sep 17 00:00:00 2001 From: Joseph Kato Date: Tue, 7 Jan 2025 22:37:48 -0800 Subject: [PATCH] Better error handling --- src/{hooks.ts => hooks.server.ts} | 0 src/routes/+error.svelte | 10 +++------- 2 files changed, 3 insertions(+), 7 deletions(-) rename src/{hooks.ts => hooks.server.ts} (100%) diff --git a/src/hooks.ts b/src/hooks.server.ts similarity index 100% rename from src/hooks.ts rename to src/hooks.server.ts diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte index aa6f268..233163e 100644 --- a/src/routes/+error.svelte +++ b/src/routes/+error.svelte @@ -1,9 +1,7 @@ -
+

404

-

- Page not found -

+

Page not found

Sorry, we couldn’t find the page you’re looking for.

@@ -13,9 +11,7 @@ class="rounded-md bg-lime-500 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-lime-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" >Go back home - Contact support