environmental variables toml and dashboard

I have quite a few non-secret text variables and i don't want enter these into the dahsboard. So I thought if I put them under vars as suggested in the docs name = "my-worker-dev" [vars] API_HOST = "example.com" API_ACCOUNT_ID = "example_user" SERVICE_X_DATA = { URL = "service-x-api.dev.example", MY_ID = 123 } then when i deployed with npm run build && npx wrangler pages deploy dist they do not appear on the dashboard nor is the pages recognizing the wrangler.toml pretty confused by docss which mainly refer to workers and in workers it 'works' as expected.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?