Skip to content

Commit 3ada1f0

Browse files
authored
Update environment-variables.mdx
1 parent c053623 commit 3ada1f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/workers/configuration/environment-variables.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ export default {
5252
[Environments in Wrangler](/workers/wrangler/environments) let you specify different configurations for the same Worker, including different values for `vars` in each environment.
5353
As `vars` is a [non-inheritable key](/workers/wrangler/configuration/#non-inheritable-keys), they are not inherited by environments and must be specified for each environment.
5454

55-
The example below sets up two environments, `staging` and `production`, with different values for `API_HOST` and `API_ACCOUNT_ID`.
55+
The example below sets up two environments, `staging` and `production`, with different values for `API_HOST`.
5656

5757
<WranglerConfig>
5858

5959
```toml
6060
name = "my-worker-dev"
6161

62+
API_HOST = "api.example.com"
63+
6264
[env.staging.vars]
6365
API_HOST = "staging.example.com"
64-
API_ACCOUNT_ID = "staging_example_user"
6566

6667
[env.production.vars]
6768
API_HOST = "production.example.com"
68-
API_ACCOUNT_ID = "production_example_user"
6969
```
7070

7171
</WranglerConfig>

0 commit comments

Comments
 (0)