Web Development
Bug Report
Vite import.meta.env variable undefined in the production Docker build
Our React app called https://undefined/v1/... in production while dev worked fine. Vite replaces import.meta.env at build time, and our Docker image set the variable only at runtime. We fixed the build and then moved to runtime config.