Skip to content

Commit

Permalink
Revert example client initialization change
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Jan 12, 2024
1 parent d92e9f3 commit e2412cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/vanilla/example/ui/index.html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit e2412cd

Please sign in to comment.