From 302c2873972e65cac4076e7cd386426aec113ef5 Mon Sep 17 00:00:00 2001 From: Lunae Date: Thu, 4 Jul 2024 12:45:30 -0400 Subject: [PATCH] Use "server" context property Co-authored-by: Snazzah <7025343+Snazzah@users.noreply.github.com> --- src/servers/cfworker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/cfworker.ts b/src/servers/cfworker.ts index 604d118f..dd3ff477 100644 --- a/src/servers/cfworker.ts +++ b/src/servers/cfworker.ts @@ -54,7 +54,7 @@ export class CloudflareWorkerServer extends Server { }) ); }, - { cloudflare: true, ...env } + { server: 'cloudflare', ...env } ).catch(reject) ); }) as Promise;