From eadfa68aaa9be7c7d5a9b20ddda273ba68944021 Mon Sep 17 00:00:00 2001 From: saridsa2 Date: Mon, 13 Apr 2026 09:09:14 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20update=20.env.production=20for=20EC2=20?= =?UTF-8?q?=E2=80=94=20remove=20VPS=20sidecar=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .env.production | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.env.production b/.env.production index 1dee9e7..1d88f8f 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,4 @@ -VITE_API_URL=https://engage-api.srv1477139.hstgr.cloud -VITE_SIDECAR_URL=https://engage-api.srv1477139.hstgr.cloud -VITE_SIP_URI=sip:523590@blr-pub-rtc4.ozonetel.com -VITE_SIP_PASSWORD=523590 -VITE_SIP_WS_SERVER=wss://blr-pub-rtc4.ozonetel.com:444 +# EC2 deployment — Caddy reverse-proxies /auth/* and /api/* to the sidecar +# on the same domain, so VITE_API_URL is empty (same-origin). +# SIP config is per-agent from the Agent entity (returned at login), not env vars. +VITE_API_URL=