mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 14:34:19 +01:00
Update connect-two-peers-by-key-with-hyperdht.md (#80)
added missing instructions explicitly stating how to edit the client-app index.
This commit is contained in:
@@ -59,6 +59,7 @@ cd client-app
|
|||||||
pear init -y -t terminal
|
pear init -y -t terminal
|
||||||
npm install hyperdht b4a
|
npm install hyperdht b4a
|
||||||
```
|
```
|
||||||
|
Alter `client-app/index.js` to the following:
|
||||||
|
|
||||||
``` javascript
|
``` javascript
|
||||||
import DHT from 'hyperdht'
|
import DHT from 'hyperdht'
|
||||||
|
|||||||
Reference in New Issue
Block a user