# Base URL of the SlpModularCms .NET API. # # Leave this empty (or unset) for the production default: the SPA and the API are served by the # same process, so an empty value means same-origin — requests use relative paths and no CORS # configuration is needed at all. An explicit absolute URL is still honoured and required for local # development, where the frontend dev server and the backend run on different ports: # The backend must be running with CORS configured to allow this origin # and to send the httpOnly refresh-token cookie (credentials: include). # Set CookieSameSite=None in appsettings.Development.json so the cookie # is sent cross-origin when the frontend and backend run on different ports. VITE_API_BASE_URL=https://localhost:7221 # Browser tab title. Defaults to "SlpModularCms" if unset — override so the # tab is instantly recognizable when running multiple instances side by side # (e.g. local master vs. slave, see below). VITE_APP_TITLE=SlpModularCms # --- Observability (all optional — absent is a supported state, not an error) --- # Sentry DSN for the admin SPA. Absent or empty skips Sentry initialisation entirely; only console # logging remains active. Not sensitive — safe to expose in the client bundle. VITE_SENTRY_DSN= # Environment tag attached to Sentry events (e.g. "test", "production"). Set per-environment by the # CI pipeline (see .gitea/workflows/continuous_integration.yaml) — leave empty for local development. VITE_APP_ENV= # Umami analytics script host and this environment's website ID. Both absent means the Umami # component renders nothing — leave unset for local development. VITE_UMAMI_SCRIPT_URL= VITE_UMAMI_WEBSITE_ID= # --- Local master/slave dev setup --- # To point the frontend at the slave instance (SlpModularCms.Api.Slave, # see root README.md "Lokaal Master + Slave Draaien (Dev)") instead of the # master, copy this file to `.env.slave.local` with: # VITE_API_BASE_URL=https://localhost:7222 # VITE_APP_TITLE=SlpModularCms (Slave) # and run `pnpm dev:slave` (uses --mode slave, port 5174) instead of `pnpm dev`. # --- Local SlpModularCms.Api.SlpSoftware dev setup --- # To point the frontend at the SlpSoftware client instance (SlpModularCms.Api.SlpSoftware, # see root README.md "Projectstructuur") instead of the master, copy this file to # `.env.slpsoftware.local` with: # VITE_API_BASE_URL=https://localhost:7223 # VITE_APP_TITLE=SlpModularCms (SlpSoftware) # and run `pnpm dev:slpsoftware` (uses --mode slpsoftware, port 5175) instead of `pnpm dev`.