Remove VITE_WS_URL from frontend .env.production - fetch from backend instead
All checks were successful
Build Frontend / Build Frontend (push) Successful in 21s

Frontend will now fetch WebSocket URL from backend /api/config/public
This allows controlling WebSocket URL from backend .env only
This commit is contained in:
2026-01-11 02:05:48 +00:00
parent 0857b31dcb
commit 53e7197ad5

View File

@@ -5,8 +5,8 @@
VITE_API_URL=https://api.turbotrades.dev VITE_API_URL=https://api.turbotrades.dev
# WebSocket URL - Backend WebSocket endpoint # WebSocket URL - Backend WebSocket endpoint
# If not set, will auto-generate from VITE_API_URL # Commented out to fetch from backend /api/config/public instead
VITE_WS_URL=wss://api.turbotrades.dev/ws # VITE_WS_URL=wss://api.turbotrades.dev/ws
# App Configuration # App Configuration
VITE_APP_NAME=TurboTrades VITE_APP_NAME=TurboTrades