.env variables not working with Remix + Vite

I have tried include everying to wrangler.toml from [vars] to [env.production.vars] , [env.preview.vars]. An my web application can not use the API, the api does work in local.
No description
No description
1 Reply
Absoluto Naughty
I fixed it!!! Using import.meta instead of process.
No description
Want results from more Discord servers?
Add your server