From 530767d85d85b5932abdb87721e395c0a214b148 Mon Sep 17 00:00:00 2001 From: David Dias Date: Mon, 16 Nov 2020 12:20:31 +0000 Subject: [PATCH] docs: add /p2p/ to add addresses on display (#3398) --- examples/browser-exchange-files/public/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/browser-exchange-files/public/app.js b/examples/browser-exchange-files/public/app.js index 82ad19882c..11d6c8614b 100644 --- a/examples/browser-exchange-files/public/app.js +++ b/examples/browser-exchange-files/public/app.js @@ -294,7 +294,7 @@ async function refreshPeerList () { if (addr.indexOf('/p2p/') >= 0) { return addr } else { - return addr + peer.peer + return addr + '/p2p/' + peer.peer } } })