fix: update .env.production for EC2 — remove VPS sidecar URL

VITE_API_URL is now empty (same-origin). Caddy proxies /auth and /api
to the sidecar on the same domain. The old VPS URL caused 'User not
found' errors because the VPS has different workspace users.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 09:09:14 +05:30
parent 5a24bbde0a
commit eadfa68aaa

View File

@@ -1,5 +1,4 @@
VITE_API_URL=https://engage-api.srv1477139.hstgr.cloud # EC2 deployment — Caddy reverse-proxies /auth/* and /api/* to the sidecar
VITE_SIDECAR_URL=https://engage-api.srv1477139.hstgr.cloud # on the same domain, so VITE_API_URL is empty (same-origin).
VITE_SIP_URI=sip:523590@blr-pub-rtc4.ozonetel.com # SIP config is per-agent from the Agent entity (returned at login), not env vars.
VITE_SIP_PASSWORD=523590 VITE_API_URL=
VITE_SIP_WS_SERVER=wss://blr-pub-rtc4.ozonetel.com:444