From 77d37853cb109cb30bdc7aecd7eea8f8c9b3a9c3 Mon Sep 17 00:00:00 2001 From: Alexander Niebuhr Date: Thu, 28 Sep 2023 20:26:47 +0200 Subject: [PATCH] fix(cloudflare): sneaky docs (#8694) * fix(cloudflare): sneaky docs * resolve docs review comments Co-authored-by: Sarah Rainsberger * resolve docs review comments Co-authored-by: Sarah Rainsberger --------- Co-authored-by: Sarah Rainsberger --- packages/integrations/cloudflare/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/integrations/cloudflare/README.md b/packages/integrations/cloudflare/README.md index 0e84e451f8..830c0c9f0a 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"