diff --git a/client/deno/sandbox.ts b/client/deno/sandbox.ts index c6df0957..5bc134e3 100644 --- a/client/deno/sandbox.ts +++ b/client/deno/sandbox.ts @@ -36,7 +36,7 @@ const server = Deno.serve( } try { - const resp = await handler(req); + const resp = await handler.fetch(req); if (!(resp instanceof Response)) { return new Response("Mod did not return a Response", { status: 500 }); }