fix colon
This commit is contained in:
parent
867d2ca76b
commit
7d26a6a56b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user