# Committed on purpose - see .gitignore. # # Named .env.production, not .env: Dokploy overwrites .env in the build context # from the service's Environment tab (empty when that tab is blank). Vite loads # .env.production for production builds and it wins over .env, so this survives. # # Nothing here is a secret. VITE_API_BASE_URL is inlined into the public JS # bundle at build time, so it is readable by anyone who opens the site; keeping # it out of git protected nothing and only meant the value had to be remembered # and re-passed as a --build-arg on every deploy. # # Because Vite reads this file during `npm run build`, the Docker build picks it # up automatically and the --build-arg is no longer required. # # Do NOT add anything secret to this file. Every VITE_-prefixed variable ends up # in the shipped bundle - that is how Vite works, not a misconfiguration. # The API's own domain. Must match the backend's API_CORS_ORIGINS pairing: # this app is served from catalogue.nearle.ai.in and calls the API here. VITE_API_BASE_URL=https://mcp.nearle.ai.in