automatic peer discovery
This commit is contained in:
parent
d62dbeffca
commit
4ba65dd4e1
9 changed files with 103 additions and 44 deletions
12
js/config.js
12
js/config.js
|
|
@ -3,13 +3,13 @@
|
|||
var config = {
|
||||
networkName: 'testnet',
|
||||
network: {
|
||||
key: 'lwjd5qra8257b9',
|
||||
// key: 'lwjd5qra8257b9',
|
||||
// This is for running local peerJs with params: ./peerjs -p 10009 -k 'sdfjhwefh'
|
||||
// key: 'sdfjhwefh',
|
||||
// host: 'localhost',
|
||||
// port: 10009,
|
||||
// path: '/',
|
||||
maxPeers: 3,
|
||||
key: 'sdfjhwefh',
|
||||
host: '192.168.1.100',
|
||||
port: 10009,
|
||||
path: '/',
|
||||
maxPeers: 10,
|
||||
debug: 3,
|
||||
},
|
||||
limits: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue