Browse Source

Import listen function

Yuri Iozzelli 2 years ago
parent
commit
c5b2708697
1 changed files with 2 additions and 1 deletions
  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>