fix(cloudflare): sneaky docs (#8694)
* fix(cloudflare): sneaky docs * resolve docs review comments Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * resolve docs review comments Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
This commit is contained in:
parent
eb530e9b61
commit
77d37853cb
1 changed files with 2 additions and 3 deletions
|
@ -186,7 +186,7 @@ export default defineConfig({
|
|||
|
||||
### `runtime`
|
||||
|
||||
`runtime: "off" | "local" | "remote"`
|
||||
`runtime: "off" | "local"`
|
||||
|
||||
default `"off"`
|
||||
|
||||
|
@ -194,8 +194,7 @@ Determines whether and how the Cloudflare Runtime is added to `astro dev`.
|
|||
|
||||
The Cloudflare Runtime includes [Cloudflare bindings](https://developers.cloudflare.com/pages/platform/functions/bindings), [environment variables](https://developers.cloudflare.com/pages/platform/functions/bindings/#environment-variables), and the [cf object](https://developers.cloudflare.com/workers/runtime-apis/request/#incomingrequestcfproperties). Read more about [accessing the Cloudflare Runtime](#access-to-the-cloudflare-runtime).
|
||||
|
||||
- `local`: uses bindings mocking and locally static placeholdes
|
||||
- `remote`: uses remote bindings and a live fetched cf object
|
||||
- `local`: uses bindings mocking and locally static placeholders
|
||||
- `off`: no access to the Cloudflare runtime using `astro dev`. You can alternatively use [Preview with Wrangler](#preview-with-wrangler)
|
||||
|
||||
```diff lang="js"
|
||||
|
|
Loading…
Reference in a new issue