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
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Failing after 46s
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user