mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
d151d9f3f2
* enable access to cloudflare runtime * added get runtime api added context to the runtime in "advanced" mode * added typings and adjusted some return vars * added default types * added usage description to changeset and readme Co-authored-by: AirBorne04 <unknown> Co-authored-by: AirBorne04 <>
289 B
289 B
@astrojs/cloudflare |
---|
patch |
enable access to cloudflare runtime [KV, R2, Durable Objects]
- access native cloudflare runtime through
import { getRuntime } from "@astrojs/cloudflare/runtime"
now you can callgetRuntime(Astro.request)
and get access to the runtime environment