0
Fork 0
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:
Chris Swithinbank 2022-10-27 16:51:51 +02:00 committed by GitHub
parent 50841bb7fd
commit 10cb1405c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);