fix: use channel

This commit is contained in:
mrxiaozhuox committed 2022-01-26 10:18:31 +08:00
1 parent 20977a49f0
commit 78980b2dbf
2 files changed
+31 -25

No files matched your search

+4
View File
@@ -17,4 +17,8 @@
ws.send("init");
});
ws.addEventListener("close", () => {
alert("Dev-Server Socket Closed.");
});
})();