We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b999c4e commit 9a5ef0aCopy full SHA for 9a5ef0a
packages/open-next/src/overrides/wrappers/cloudflare.ts
@@ -26,7 +26,7 @@ const handler: WrapperHandler<
26
ctx: WorkerContext,
27
): Promise<Response> => {
28
globalThis.process = process;
29
- globalThis.openNextWaitUntil = ctx.waitUntil;
+ globalThis.openNextWaitUntil = ctx.waitUntil.bind(ctx);
30
31
// Set the environment variables
32
// Cloudflare suggests to not override the process.env object but instead apply the values to it
0 commit comments