Remove VITE_WS_URL from frontend .env.production - fetch from backend instead
All checks were successful
Build Frontend / Build Frontend (push) Successful in 21s
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user