fix colon

This commit is contained in:
Sebastian 2023-03-10 09:58:51 -03:00
parent 867d2ca76b
commit 7d26a6a56b
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069

View File

@ -2,7 +2,7 @@
function setupLiveReload(): void {
const protocol = window.location.protocol === "http:" ? "ws:" : "wss:";
const ws = new WebSocket(`${protocol}://localhost:8080/ws`);
const ws = new WebSocket(`${protocol}//localhost:8080/ws`);
ws.addEventListener("message", (message) => {
try {