Typo.
All checks were successful
Build and test Zhurnal / Test (push) Successful in 1m8s

This commit is contained in:
retoor 2024-11-27 15:56:34 +01:00
parent b2a88d9a78
commit 239341c032

View File

@ -139,7 +139,7 @@ index_html = """
}
document.addEventListener("DOMContentLoaded", () => {
let url = (window.location.protocol == 'http' ? 'ws://': 'ws:///') + window.location.host + "/ws"
let url = (window.location.protocol == 'http' ? 'ws://': 'wss://') + window.location.host + "/ws"
const ws = new WebSocket(url);
const messagesDiv = document.getElementById("messages");
ws.onmessage = (event) => {