.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.
1 Reply
I fixed it!!! Using import.meta instead of process.