From c5b2708697a242fa232e51e854066a1b702d430e Mon Sep 17 00:00:00 2001 From: Yuri Iozzelli Date: Fri, 12 Aug 2022 10:05:30 +0200 Subject: [PATCH] Import listen function --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index f01c2b6..f6f4f24 100644 --- a/index.html +++ b/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;