Explorar o código

Import listen function

Yuri Iozzelli %!s(int64=2) %!d(string=hai) anos
pai
achega
c5b2708697
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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>