fix colon
This commit is contained in:
parent
867d2ca76b
commit
7d26a6a56b
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
function setupLiveReload(): void {
|
function setupLiveReload(): void {
|
||||||
const protocol = window.location.protocol === "http:" ? "ws:" : "wss:";
|
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) => {
|
ws.addEventListener("message", (message) => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user