fix: use real 500 error page in dev mode (#2134)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
e78c6a90af
commit
c4e09d1cef
@@ -3,6 +3,7 @@
|
||||
// This file is automatically updated during development when running `dev.ts`.
|
||||
|
||||
import * as $_all_ from "./routes/[...all].ts";
|
||||
import * as $_500 from "./routes/_500.tsx";
|
||||
import * as $index from "./routes/index.tsx";
|
||||
|
||||
import { type Manifest } from "$fresh/server.ts";
|
||||
@@ -10,6 +11,7 @@ import { type Manifest } from "$fresh/server.ts";
|
||||
const manifest = {
|
||||
routes: {
|
||||
"./routes/[...all].ts": $_all_,
|
||||
"./routes/_500.tsx": $_500,
|
||||
"./routes/index.tsx": $index,
|
||||
},
|
||||
islands: {},
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export default function Error500() {
|
||||
return <p>500 page</p>;
|
||||
}
|
||||
Reference in New Issue
Block a user