summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexander Niebuhr <alexander@nbhr.io> 2023-09-28 20:26:47 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-28 20:26:47 +0200
commit77d37853cb109cb30bdc7aecd7eea8f8c9b3a9c3 (patch)
treea7f103446ca0a6e4620672255b75b9874566b556
parenteb530e9b61f082de17fd41d80af179c0cd8cdd72 (diff)
downloadastro-77d37853cb109cb30bdc7aecd7eea8f8c9b3a9c3.tar.gz
astro-77d37853cb109cb30bdc7aecd7eea8f8c9b3a9c3.tar.zst
astro-77d37853cb109cb30bdc7aecd7eea8f8c9b3a9c3.zip
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>
-rw-r--r--packages/integrations/cloudflare/README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/integrations/cloudflare/README.md b/packages/integrations/cloudflare/README.md
index 0e84e451f..830c0c9f0 100644
--- a/packages/integrations/cloudflare/README.md
+++ b/packages/integrations/cloudflare/README.md
@@ -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"