theme_guess/netlify.toml
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

16 lines
645 B
TOML

[build]
base = "frontend"
command = "npm run build"
publish = "dist"
[build.environment]
NODE_VERSION = "20"
# The multiplayer WebSocket backend (backend/) is a persistent Node
# process — it does not run on Netlify. Deploy it separately (Fly.io,
# Render, Railway, a VPS, ...) and point this site at it by setting
# VITE_WS_URL in Site settings -> Environment variables (Netlify
# dashboard) or via `netlify env:set VITE_WS_URL wss://your-backend-host`.
# It must be `wss://` (not `ws://`) once this site is served over
# https, or browsers block the connection as mixed content. See
# frontend/.env.example and frontend/src/net/client.ts.