diff --git a/src/routes/_error.svelte b/src/routes/_error.svelte index 92fcca8..38e8e50 100644 --- a/src/routes/_error.svelte +++ b/src/routes/_error.svelte @@ -2,22 +2,31 @@ export let status: number; export let error: Error; - const dev = process.env.NODE_ENV === 'development'; + const dev = process.env.NODE_ENV === "development"; - - - - {status} - - -

{status}

- -

{error.message}

- -{#if dev && error.stack} -
{error.stack}
-{/if} diff --git a/src/routes/_layout.svelte b/src/routes/_layout.svelte index c0be3f9..d6b1716 100644 --- a/src/routes/_layout.svelte +++ b/src/routes/_layout.svelte @@ -1,24 +1,43 @@ - +