Add 404 and 500 page #446 (#624)

* Add 404 and 500 page

Co-authored-by: hashrock <hashrock@users.noreply.github.com>
This commit is contained in:
Michael Pfister
2022-08-16 23:52:06 +09:00
committed by GitHub
co-authored by hashrock
parent 55f657827f
commit 3431555f95
5 changed files with 70 additions and 24 deletions
+8
View File
@@ -0,0 +1,8 @@
import { ServerCodePage } from "./_404.tsx";
export default function InternalServerError() {
return ServerCodePage({
serverCode: 500,
codeDescription: "Oops! Something went wrong.",
});
}