Skip to content

Commit

Permalink
Fixed reference to @opennextjs/cloudflare (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanclevenger authored Sep 27, 2024
1 parent aeff0ca commit 74b5552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/cloudflare/bindings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Install [@opennextjs/cloudflare](https://www.npmjs.com/package/@opennextjs/cloud

#### How to access bindings in your Next.js app

You can access [bindings](https://developers.cloudflare.com/workers/runtime-apis/bindings/) from any route of your Next.js app via `getCloudlfareContext`:
You can access [bindings](https://developers.cloudflare.com/workers/runtime-apis/bindings/) from any route of your Next.js app via `getCloudflareContext`:

```js
import { getCloudflareContext } from "@cloudflare/next-on-pages";
import { getCloudflareContext } from "@opennextjs/cloudflare";

export async function GET(request) {
let responseText = "Hello World";
Expand Down

0 comments on commit 74b5552

Please sign in to comment.