Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 530767d

Browse files
authored
docs: add /p2p/ to add addresses on display (#3398)
1 parent b7b0fdc commit 530767d

File tree

1 file changed

+1
-1
lines changed
  • examples/browser-exchange-files/public

1 file changed

+1
-1
lines changed

examples/browser-exchange-files/public/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ async function refreshPeerList () {
294294
if (addr.indexOf('/p2p/') >= 0) {
295295
return addr
296296
} else {
297-
return addr + peer.peer
297+
return addr + '/p2p/' + peer.peer
298298
}
299299
}
300300
})

0 commit comments

Comments
 (0)