Skip to content

Commit

Permalink
Update cloudflare docs link
Browse files Browse the repository at this point in the history
  • Loading branch information
theoephraim authored Jan 14, 2025
1 parent 21e8006 commit 365351d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Please reach out if you need help setting things up, or have a use case that is

### Cloudflare Pages env vars

The Cloudflare Pages environment injects a few [environment variables](https://docs.netlify.com/configure-builds/environment-variables/#read-only-variables) into its _build environment_ that provide information about the current build. This module exposes a pre-made config schema object which you can use in your own schema. You can use the `pickFromSchemaObject` utility to pick only the env var keys that you need from the full list. For example:
The Cloudflare Pages environment injects a few [environment variables](https://developers.cloudflare.com/pages/configuration/build-configuration/#environment-variables) into its _build environment_ that provide information about the current build. This module exposes a pre-made config schema object which you can use in your own schema. You can use the `pickFromSchemaObject` utility to pick only the env var keys that you need from the full list. For example:

```ts title='.dmno/config.mts'
import { defineDmnoService, switchBy, pickFromSchemaObject } from 'dmno';
Expand Down

0 comments on commit 365351d

Please sign in to comment.