diff --git a/templates/vanilla/example/ui/index.html.hbs b/templates/vanilla/example/ui/index.html.hbs index 282881108..abab2e61f 100644 --- a/templates/vanilla/example/ui/index.html.hbs +++ b/templates/vanilla/example/ui/index.html.hbs @@ -45,8 +45,8 @@ } async function connect() { - // We pass an unused string as the url because it will dynamically be replaced in launcher environments - client = await AppAgentWebsocket.connect(new URL('https://UNUSED'), 'hello-world'); + // We pass '' as url because it will dynamically be replaced in launcher environments + client = await AppAgentWebsocket.connect('', 'hello-world'); const canvas = document.getElementById('pubkey') pubkey.title = encodeHashToBase64(client.myPubKey) const opts = {