chore: use ws instead of global

This commit is contained in:
Jonathan Kelley committed 2022-12-22 02:56:33 -05:00
1 parent 19d0a9af28
commit 3c1786b7f1
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ class IPC {
let ws = new WebSocket(WS_ADDR);
ws.onopen = () => {
window.ipc.postMessage(serializeIpcMessage("initialize"));
ws.send(serializeIpcMessage("initialize"));
};
ws.onerror = (err) => {