Websocket where not secure...

This commit is contained in:
2025-08-15 08:55:58 +02:00
parent 33d54cb00d
commit a0494c6353

View File

@@ -7,7 +7,7 @@
<script> <script>
window.gamekey = "@Model.gameID" window.gamekey = "@Model.gameID"
const ws = new WebSocket("ws://" + document.location.host + "/ws"); const ws = new WebSocket("wss://" + document.location.host + "/ws");
ws.addEventListener("message", (event) => { ws.addEventListener("message", (event) => {