Files
LaDOSE/LaDOSE.Src/LaDOSE.WebApp/static/config.js
T
2026-08-06 09:58:06 +02:00

9 lines
476 B
JavaScript

// Default runtime configuration. Empty on purpose: with no override the API
// client falls back to VITE_API_BASE_URL and then to http://localhost:5000.
//
// The container entrypoint replaces this file at start-up from LADOSE_API_BASE_URL
// (see Dockerfile / docker-entrypoint.sh), which is what lets one image serve
// several environments without a rebuild. Shipping it means `vite dev` does not
// 404 on the <script> tag in src/app.html.
window.__LADOSE_CONFIG__ = {};