feat: add support for middleware (#74)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export async function handler(_req: Request, handle: () => Promise<Response>) {
|
||||
const resp = await handle();
|
||||
resp.headers.set("server", "fresh test server");
|
||||
return resp;
|
||||
}
|
||||
Reference in New Issue
Block a user