2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-06-27 07:13:12 +00:00

Instance.Link

This commit is contained in:
2022-08-13 04:00:26 +03:00
parent 1985363ad7
commit 2689bb7fd5
12 changed files with 1595 additions and 829 deletions

View File

@ -15,7 +15,7 @@
try {
status.innerHTML = "Connecting...";
service = await wh.get("iip://localhost:8001/chat", {username, password: "1234"});
service = await wh.get("iip://localhost:8001/chat", {username, password: "1234", autoReconnect: true});
login.style.display = "none";
service.on("message", appendMessage)
.on(":title", updateTitle)