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 aae8cab commit 0d2dd9bCopy full SHA for 0d2dd9b
packages/cloudflare/src/api/cloudflare-context.ts
@@ -91,7 +91,7 @@ export function getCloudflareContext<
91
throw new Error(
92
`\n\nERROR: \`getCloudflareContext\` has been called in a static route` +
93
` that is not allowed, this can be solved in different ways:\n\n` +
94
- ` - call \`getCloudflareContext\` in \`async\` mode\n` +
+ ` - call \`getCloudflareContext({async: true})\` to use the \`async\` mode\n` +
95
` - avoid calling \`getCloudflareContext\` in the route\n` +
96
` - make the route non static\n`
97
);
0 commit comments