#i feel stupid lol, what do I configure environment variable for dev environment under `wrangler.toml
3 messages · Page 1 of 1 (latest)
As per documentation:
For local development with wrangler dev, variables in wrangler.toml are automatically overridden by any values defined in a .dev.vars file located in the root directory of your worker. This is useful for providing values you do not want to check in to source control.
Terminal window
API_HOST = "localhost:4000"
API_ACCOUNT_ID = "local_example_user"
Alternatively, you can specify per-environment values in wrangler.toml and provide an environment value via the env flag when developing locally like so wrangler dev --env=local.
https://developers.cloudflare.com/workers/configuration/environment-variables/
i found out my problem