Skip to content

Commit 5d0941f

Browse files
committed
add: Ensure that the initial request.signal is passed to the wrapper
1 parent 060a03e commit 5d0941f

File tree

1 file changed

+1
-1
lines changed
  • packages/cloudflare/src/cli/templates

1 file changed

+1
-1
lines changed

packages/cloudflare/src/cli/templates/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default {
5454
// @ts-expect-error: resolved by wrangler build
5555
const { handler } = await import("./server-functions/default/handler.mjs");
5656

57-
return handler(reqOrResp, env, ctx);
57+
return handler(reqOrResp, env, ctx, request.signal);
5858
});
5959
},
6060
} satisfies ExportedHandler<CloudflareEnv>;

0 commit comments

Comments
 (0)