Files
snatchgame/client/.env.example
josedario87 1912b3a76f docs: add contributor and Colyseus guides
feat(client): parametrize WS/API via VITE_WS_URL and VITE_API_URL; add .env.example and README env section
2025-08-07 17:10:08 -06:00

11 lines
352 B
Plaintext

# Client environment variables (copy to client/.env)
# WebSocket endpoint for Colyseus server
# e.g., ws://localhost:3000 (dev) or wss://api.my-domain.com (prod)
VITE_WS_URL=ws://localhost:3000
# REST API base (must include /api)
# e.g., http://localhost:3000/api (dev) or https://api.my-domain.com/api (prod)
VITE_API_URL=http://localhost:3000/api