diff options
-rw-r--r-- | packages/web-util/src/live-reload.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web-util/src/live-reload.ts b/packages/web-util/src/live-reload.ts index 48093088a..b65d472c1 100644 --- a/packages/web-util/src/live-reload.ts +++ b/packages/web-util/src/live-reload.ts @@ -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 { |