feat: Allow passing props to renderNotFound method (#1310)
This commit is contained in:
@@ -2,6 +2,8 @@ import { Handlers } from "../../../server.ts";
|
||||
|
||||
export const handler: Handlers = {
|
||||
GET(_req, ctx) {
|
||||
return ctx.renderNotFound();
|
||||
return ctx.renderNotFound({
|
||||
hello: "Dino",
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user