theme_guess/frontend/.env.example
Gabriel Franco faeede3447 chore(frontend): shrink panel controls, configure Netlify deploy
- Shrink category cards and panel buttons for wider code view
- Add netlify.toml, document backend URL/port setup for Netlify deploys
2026-09-14 09:49:55 -03:00

13 lines
726 B
Text

# Multiplayer WebSocket backend URL, read at build time via
# `import.meta.env.VITE_WS_URL` (see src/net/client.ts). Defaults to
# ws://localhost:8080 for local dev when unset.
#
# For a Netlify deploy, set this in Site settings -> Environment
# variables (or `netlify env:set VITE_WS_URL wss://your-backend-host`)
# to the deployed backend's address. Use wss:// (not ws://) once the
# Netlify site is served over https, or the browser blocks the
# connection as mixed content. The backend's own listen port is
# separately configurable via its host's PORT env var — see
# backend/src/index.js — and is not set here; it only affects which
# port the backend process binds to, not this URL.
VITE_WS_URL=ws://localhost:8080