Import listen function

This commit is contained in:
Yuri Iozzelli 2022-08-12 10:05:30 +02:00 committed by Carlo Piovesan
parent 9a51c30d55
commit c5b2708697

View file

@ -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>