Search
Feedback
Setup for Free
CD
Cloudflare Developers
•
3y ago
•
8 replies
Hello, I’m Allie!
Both Note though that this only works
Both
. Note though that this only works for Workers
, not Pages
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,498
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Y
ynkt
Hmm, I'm confused again. So if I want to define a environment variable in Pages'...
H
Hello, I’m Allie!
OP
•
4/9/23, 9:51 AM
If you are using wrangler
, then you should define
“safe to be public
” variables in your
wrangler.toml
wrangler.toml
, and the dash will be updated to match
Y
ynkt
I usually use Git integration for Pages deployment, but will run `wrangler pages...
H
Hello, I’m Allie!
OP
•
4/9/23, 10:19 AM
No
, local variables don
’t work with Pages projects
H
Hello, I’m Allie!
OP
•
4/9/23, 10:19 AM
Variables in Pages must be configured from the dash
Y
ynkt
So, your last reply (syncing between `wrangler.toml` and dashboard) is only appl...
H
Hello, I’m Allie!
OP
•
4/9/23, 2:15 PM
Yes
,
wrangler
wrangler
should not read a
wrangler.toml
wrangler.toml
at all when using a Pages
-related command
wrangler
wrangler
Similar Threads
Note that Vectorize supports namespaces
CD
Cloudflare Developers / vectorize
3y ago
I also noticed that this issue only
CD
Cloudflare Developers / workflows
2mo ago
nope that works perfectly
CD
Cloudflare Developers / next-on-pages
2y ago