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

Commit

Permalink
docs: add a explanation of a example's restriction (#2211)
Browse files Browse the repository at this point in the history
This example doesn't work except the case in localhost ( related to ipfs/js-ipfs#2153)
This is known because of a restriction with WebCrypto (libp2p/js-libp2p-crypto#105)
I add a explanation of a example's restriction to run
  • Loading branch information
hapsody authored and Alan Shaw committed Jul 4, 2019
1 parent 31b6031 commit 2b38b1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exchange-files-in-browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ Check that you got connected:

![](img/connect-2.png)

> It only works on localhost environments because of a restriction with WebCrypto where it will not load in a page unless that page is loaded over https, or the page is served from localhost: [libp2p/js-libp2p-crypto#105][js-libp2p-crypto#105]
[js-libp2p-crypto#105]: https://github.com/libp2p/js-libp2p-crypto/issues/105

### 5. Transfer files between all of your nodes!

Now you can add files through the CLI with:
Expand Down

0 comments on commit 2b38b1b

Please sign in to comment.