From 74b55528f6372287c03a06f5074bea86c1ab8488 Mon Sep 17 00:00:00 2001 From: Nathan Clevenger Date: Fri, 27 Sep 2024 05:32:24 -0500 Subject: [PATCH] Fixed reference to @opennextjs/cloudflare (#13) --- pages/cloudflare/bindings.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/cloudflare/bindings.mdx b/pages/cloudflare/bindings.mdx index cce2c5c..6efd272 100644 --- a/pages/cloudflare/bindings.mdx +++ b/pages/cloudflare/bindings.mdx @@ -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";