Deployment fails unless env variable is a secret
wrangler.toml
but to no avail. Screenshots show that it's there in the settings but the build fails nonetheless. Strange.2 Replies
It looks like you are using vite, can you try prefixing them with
VITE_
that didn't work. but once I encrypted the new
VITE_SUPABASE_URL
the build passes again.
afaik Astro (which I use) doesn't require VITE_
prefixes in env variables but I tried it anyway