Update test_websocket.html with correct WebSocket URL

This commit is contained in:
Ramforth
2025-10-31 19:16:21 +01:00
parent f6b312478e
commit 4a53c90ada

View File

@@ -12,7 +12,7 @@
<button onclick="sendMessage()">Send</button>
<ul id="messages"></ul>
<script>
const ws = new WebSocket("ws://localhost:8000/ws");
const ws = new WebSocket("wss://overlays.ramforth.net/weather_ws");
ws.onmessage = function(event) {
const messages = document.getElementById('messages');
const message = document.createElement('li');