Files

28 lines
1.2 KiB
Bash

# Copy to .env.local and adjust. All vars are optional — the app has working defaults.
# Backend endpoints. Defaults (when unset): http://localhost:8080/api/v1 and ws://localhost:8080/ws.
# VITE_API_BASE=/api/v1
# VITE_WS_URL=ws://localhost:5173/ws
# Dev-only: proxy /api and /ws through Vite to a running beacon-server (see vite.config.ts).
# VITE_DEV_PROXY=http://localhost:8080
# Fallback/initial map view (decimal "lat,lon" + zoom). Shown before airports load and when a
# selection has no airport coords; otherwise the map fits bounds over the airports. Unset = world.
# VITE_MAP_CENTER=52.5,-96.8
# VITE_MAP_ZOOM=3.2
# Hide tabs completely (comma list, case-insensitive). Unset = show all.
# Options: Packets,Channels,Map,Nodes,Observers,Routes,Traces,Analytics
# VITE_DISABLED_TABS=Map,Traces
# Reveal normally-hidden themes in the picker (comma list of theme ids). Unset = none.
# Options: meshmapper_dark,meshmapper_light
# VITE_ENABLED_THEMES=meshmapper_dark,meshmapper_light
# Custom top-left app name (default: BEACON). Avoid the & and | characters.
# VITE_APP_NAME=Beacon - MeshMapper
# Skip the once-per-session load splash. Unset = shown.
# VITE_SKIP_SPLASH=true