fix: bust stale edge-cached bundle URL with new content hash

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
tfrere
2026-08-25 18:26:36 +02:00
parent c7276f3891
commit 61550fb935
+5
View File
@@ -4,6 +4,11 @@ import CssBaseline from "@mui/material/CssBaseline";
import { theme } from "./theme.js";
import App from "./App.jsx";
// Build tag: bump to change the bundle's content hash, e.g. to bust a stale
// edge-cached asset URL on the HF Space.
const BUILD_TAG = "2026-08-25";
console.info(`Microduck build ${BUILD_TAG}`);
// No StrictMode: the game core is a heavyweight singleton (MuJoCo WASM,
// ONNX sessions, WebRTC room) and dev double-mounting would double-boot it.
createRoot(document.getElementById("root")).render(