Add live reload on changes
This commit is contained in:
12
.env.example
12
.env.example
@@ -13,6 +13,18 @@ IDEMPOTENCY_DB_PATH=./data/dynamic-sites.db
|
||||
# SSR cache
|
||||
SITE_DATA_TTL_MS=500
|
||||
|
||||
# Browser live reload (optional)
|
||||
# When enabled, the orchestrator (port 3001) hosts a websocket endpoint that broadcasts
|
||||
# a reload event whenever content is written. Pages that opt-in will reload on message.
|
||||
LIVE_RELOAD_WS_ENABLED=false
|
||||
LIVE_RELOAD_WS_PATH=/__live_reload
|
||||
# These are read by the Astro app (public envs are embedded client-side)
|
||||
PUBLIC_LIVE_RELOAD_WS_ENABLED=false
|
||||
PUBLIC_LIVE_RELOAD_WS_PATH=/__live_reload
|
||||
# Optional override for deployments behind a reverse proxy:
|
||||
# PUBLIC_LIVE_RELOAD_WS_URL=wss://your-domain.example/__live_reload
|
||||
PUBLIC_LIVE_RELOAD_WS_URL=
|
||||
|
||||
# SMS (Vonage)
|
||||
VONAGE_API_KEY=your_vonage_api_key
|
||||
VONAGE_API_SECRET=your_vonage_api_secret
|
||||
|
||||
Reference in New Issue
Block a user