Files
beacon-web/.env.example
T
2026-10-02 22:38:54 -04:00

31 lines
1.4 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
# Only offer these themes in the picker (comma list of theme ids). Unset = the default set.
# Listing a hidden theme (meshmapper_dark, meshmapper_light) is the only way to enable it.
# VITE_ENABLED_THEMES=meshmapper_dark,meshmapper_light
# Custom top-left app name (default: BEACON).
# VITE_APP_NAME=Beacon - MeshMapper
# Skip the once-per-session load splash. Unset = shown.
# VITE_SKIP_SPLASH=true
# Notice shown above the header on every page; [label](url) and bare URLs become links. Unset = none.
# VITE_BANNER=This is the Beacon development instance and may be unstable. For everyday use, visit [live.meshcore.ca](https://live.meshcore.ca).