aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-10 09:58:51 -0300
committerSebastian <sebasjm@gmail.com>2023-03-10 09:58:51 -0300
commit7d26a6a56b7119ba4387949cbe45edcd13b83b5b (patch)
tree8fb2dec287be989618f60a1f1963bfcd14c8434d
parent867d2ca76b2ca8903b2263a68243899749de7011 (diff)
fix colon
-rw-r--r--packages/web-util/src/live-reload.ts2
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 {