Private
Public Access
1
0

Add cache-busting for JS/WASM assets, WASM readiness signaling to JS, and robust fetch with cache control. Improve lobby updates and refine WebSocket logic.
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 46s

This commit is contained in:
Sebastian Unterschütz
2026-01-04 20:13:56 +01:00
parent 98e955aad9
commit 24e21387d9
6 changed files with 93 additions and 20 deletions

View File

@@ -289,8 +289,12 @@
</div>
<!-- WASM Execution -->
<script src="wasm_exec.js"></script>
<script src="game.js"></script>
<script>
// Cache-Busting für JavaScript-Dateien (wird beim Build aktualisiert)
const BUILD_VERSION = 1767553871926;
document.write('<script src="wasm_exec.js?v=' + BUILD_VERSION + '"><\/script>');
document.write('<script src="game.js?v=' + BUILD_VERSION + '"><\/script>');
</script>
</body>
</html>