summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2022-10-27 16:51:51 +0200
committerGravatar GitHub <noreply@github.com> 2022-10-27 16:51:51 +0200
commit10cb1405c50f131d4224c8abbd64c2fb10e3dc28 (patch)
treed76620c557ceec7b5b29494cfb4b6dab777cd448
parent50841bb7fd88d9c557bb6386e1ada23a8bc80ab9 (diff)
downloadastro-10cb1405c50f131d4224c8abbd64c2fb10e3dc28.tar.gz
astro-10cb1405c50f131d4224c8abbd64c2fb10e3dc28.tar.zst
astro-10cb1405c50f131d4224c8abbd64c2fb10e3dc28.zip
Add missing language to code block (#5210)
-rw-r--r--packages/integrations/cloudflare/README.md2
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);