Yuri Iozzelli 2 роки тому
батько
коміт
c5b2708697
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      index.html

+ 2 - 1
index.html

@@ -42,7 +42,8 @@
 
         const { loginURL, ipStack } = await init({ netMapCallback: showPeers });
         showLoginURL(loginURL);
-        const { connect, parseIP } = await ipStack;
+        const { listen, connect, parseIP } = await ipStack;
+        window.listen = listen;
         window.connect = connect;
         window.parseIP = parseIP;
     </script>