Merge pull request #300 from sveltejs/gh-293

[WIP] simplify rendering of error pages
This commit is contained in:
Rich Harris
2018-06-28 12:52:41 -04:00
committed by GitHub
9 changed files with 60 additions and 117 deletions

View File

@@ -1,6 +0,0 @@
<svelte:head>
<title>Internal server error</title>
</svelte:head>
<h1>Internal server error</h1>
<p>{error.message}</p>

View File

@@ -2,5 +2,5 @@
<title>{status}</title>
</svelte:head>
<h1>Not found</h1>
<h1>{status}</h1>
<p>{error.message}</p>