diff --git a/.env.example b/.env.example index cf703e75e..1cf984652 100644 --- a/.env.example +++ b/.env.example @@ -62,13 +62,12 @@ MAPLE_ROOT_PASSWORD=change-me # Required when MAPLE_AUTH_MODE=self_hosted MAPLE_DEFAULT_ORG_ID=default -# Web app overrides (auto-derived from above if not set) -# When running `bun dev:portless`, VITE_API_BASE_URL / VITE_INGEST_URL / -# VITE_CHAT_AGENT_URL are auto-set to https://-.localhost so -# multiple worktrees can run side by side. Values set here still win. -VITE_API_BASE_URL=http://localhost:3472 +# Web app overrides. `bun dev` derives VITE_API_BASE_URL / VITE_INGEST_URL / +# VITE_ELECTRIC_SYNC_URL from the portless routes (https://[.].localhost). +# A value set here wins over that, so leave them unset unless an app runs on a raw port. +# VITE_API_BASE_URL=http://localhost:3472 # Origin of the standalone ElectricSQL shape-proxy worker (apps/electric-sync). -VITE_ELECTRIC_SYNC_URL=http://localhost:3476 +# VITE_ELECTRIC_SYNC_URL=http://localhost:3476 VITE_MAPLE_AUTH_MODE=self_hosted VITE_CLERK_SIGN_IN_URL=/sign-in VITE_CLERK_SIGN_UP_URL=/sign-up