Files
faunosteo/index.html
T
Bastien ChanotandClaude Opus 4.7 3c32f66eb6 fix(docker): write env.js from APP_* env vars at container start
Wire index.html to actually load /env.js before the Vite bundle so the
runtime config injected by docker/entrypoint.sh takes effect. Add a
public/env.js stub so local dev and static builds don't 404 — the Docker
container overwrites it via the entrypoint.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 21:57:36 +02:00

21 lines
689 B
HTML

<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Bilans d'ostéopathie animalière" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>Osteo Report</title>
<!--
Runtime config injected by docker/entrypoint.sh at container start.
window.__APP_CONFIG__ overrides build-time VITE_APP_* values.
See src/config/env.ts for the resolution order.
-->
<script src="/env.js"></script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>