diff options
-rw-r--r-- | packages/integrations/cloudflare/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/cloudflare/README.md b/packages/integrations/cloudflare/README.md index 12566b97a..381d69fec 100644 --- a/packages/integrations/cloudflare/README.md +++ b/packages/integrations/cloudflare/README.md @@ -72,7 +72,7 @@ It's then possible to update the preview script in your `package.json` to `"prev You can access all the Cloudflare bindings and environment variables from Astro components and API routes through the adapter API. -``` +```js import { getRuntime } from "@astrojs/cloudflare/runtime"; getRuntime(Astro.request); |