Refactor API configuration and improve WebSocket handling in frontend and backend
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
# Frontend Environment Variables
|
||||
# Copy this file to .env.local for local development
|
||||
|
||||
# API Configuration
|
||||
# Backend API base URL (must include /api path)
|
||||
# ===================
|
||||
# API CONFIGURATION
|
||||
# ===================
|
||||
|
||||
# Backend API URL (must include /api path)
|
||||
# Default for development: http://localhost:8080/api
|
||||
VITE_API_URL=http://localhost:8080/api
|
||||
|
||||
# WebSocket Configuration
|
||||
# WebSocket server URL for real-time collaboration (must include /ws path)
|
||||
# WebSocket URL (must include /ws path)
|
||||
# Default for development: ws://localhost:8080/ws
|
||||
# Use wss:// for production (secure WebSocket)
|
||||
VITE_WS_URL=ws://localhost:8080/ws
|
||||
|
||||
Reference in New Issue
Block a user