diff --git a/docs/content/2.deploy/providers/cloudflare.md b/docs/content/2.deploy/providers/cloudflare.md index a8f03d047c..6d109504d3 100644 --- a/docs/content/2.deploy/providers/cloudflare.md +++ b/docs/content/2.deploy/providers/cloudflare.md @@ -12,6 +12,10 @@ description: 'Discover Cloudflare preset for Nitro!' **Note:** This preset uses [service-worker syntax](https://developers.cloudflare.com/workers/learning/service-worker/) for deployment. :: +::alert{type="warning"} +**Warning:** Please be aware that `runtimeConfig` doesn't work with the Cloudflare preset (see [#272](https://github.com/unjs/nitro/issues/272) for more). As a workaround, you can use Cloudflare env variables as constants in the code. +:: + Login to your [Cloudflare Workers](https://workers.cloudflare.com) account and obtain your `account_id` from the sidebar. Create a `wrangler.toml` in your root directory: