Files
sweet/tests/fixture/routes/404-from-middleware/_middleware.ts
T

6 lines
155 B
TypeScript

import { FreshContext } from "$fresh/server.ts";
export async function handler(_req: Request, ctx: FreshContext) {
return await ctx.renderNotFound();
}