mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Add missing language to code block (#5210)
This commit is contained in:
parent
50841bb7fd
commit
10cb1405c5
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
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";
|
import { getRuntime } from "@astrojs/cloudflare/runtime";
|
||||||
|
|
||||||
getRuntime(Astro.request);
|
getRuntime(Astro.request);
|
||||||
|
|
Loading…
Reference in a new issue