add a CLIENT_CONFIG to the client, serve from BE with env vars

This commit is contained in:
Alex Holliday committed 2026-07-09 09:49:45 -07:00
1 parent ef175950b2
commit 62031a0ab1
12 files changed
+81 -7

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
// Fallback so /config.js always resolves (e.g. under the Vite dev server). In
// the Docker image the server shadows this path and renders the real config
// from its CLIENT_CONFIG_* environment variables.
window.__CHECKMATE_CONFIG__ = {};