.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
Absoluto NaughtyOP7mo ago
I fixed it!!! Using import.meta instead of process.
No description
Want results from more Discord servers?
Add your server