You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/cloudflare/bindings.mdx
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,17 @@ export async function GET(request) {
27
27
}
28
28
```
29
29
30
+
<Callouttype='info'>
31
+
`getCloudflareContext` can only be used in SSG routes in "async mode" (making it return a promise), to run the function in such a way simply provide an options argument with `async` set to `true`:
0 commit comments