diff --git a/pages/cloudflare/get-started.mdx b/pages/cloudflare/get-started.mdx index 7f3c0e5..454d474 100644 --- a/pages/cloudflare/get-started.mdx +++ b/pages/cloudflare/get-started.mdx @@ -50,7 +50,14 @@ You can create one yourself in the root directory of your Next.js app with the n "main": ".open-next/worker.js", "name": "my-app", "compatibility_date": "2024-12-30", - "compatibility_flags": ["nodejs_compat"], + "compatibility_flags": [ + // Enable Node.js API + // see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#nodejs-compatibility-flag + "nodejs_compat", + // Allow to fetch URLs in your app + // see https://developers.cloudflare.com/workers/configuration/compatibility-flags/#global-fetch-strictly-public + "global_fetch_strictly_public", + ], "assets": { "directory": ".open-next/assets", "binding": "ASSETS",