Sfoglia il codice sorgente

Import listen function

Yuri Iozzelli 3 anni fa
parent
commit
c5b2708697
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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>