소스 검색

Import listen function

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>