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 3cc360b commit 2e99410Copy full SHA for 2e99410
packages/cloudflare/src/api/cloudflare-context.ts
@@ -111,8 +111,8 @@ export function getCloudflareContext<
111
);
112
}
113
114
- // the cloudflare context is initialized by the worker and is always present in production/preview
115
- // during local development (`next dev`) it might be missing only if the developers hasn't called
+ // The cloudflare context is initialized by the worker so it is always available.
+ // During local development (`next dev`) it might be missing only if the developers hasn't called
116
// the `initOpenNextCloudflareForDev` function in their Next.js config file
117
throw new Error(
118
`\n\nERROR: \`getCloudflareContext\` has been called without having called` +
0 commit comments