feat(server): middleware params (#1314)

This commit is contained in:
Reed von Redwitz
2023-07-10 15:06:43 +02:00
committed by GitHub
parent 27622a190e
commit 724c81f2c7
9 changed files with 142 additions and 39 deletions
@@ -0,0 +1,7 @@
import { Handlers } from "$fresh/server.ts";
export const handler: Handlers<undefined> = {
GET(_req: Request, _ctx) {
return new Response(JSON.stringify({}));
},
};