feat(server): throwing Deno.errors.NotFound triggers 404 (#1984)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { defineRoute } from "$fresh/server.ts";
|
||||
|
||||
export default defineRoute((req, ctx) => {
|
||||
return "This never gets shown, because the middleware throws an error.";
|
||||
});
|
||||
Reference in New Issue
Block a user