Fix examples

This commit is contained in:
haad 2017-03-03 08:34:06 +01:00
parent 49c30b3ec0
commit e7aea34d88
4 changed files with 1016 additions and 1006 deletions

1976
dist/orbitdb.js vendored

File diff suppressed because it is too large Load Diff

22
dist/orbitdb.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -17,8 +17,18 @@
const elm = document.getElementById("result")
const ipfs = new IpfsDaemon({
IpfsDataDir: '/tmp/orbit-db-examples',
// dev server: webrtc-star-signalling.cloud.ipfs.team
SignalServer: '188.166.203.82:20000',
SignalServer: 'star-signal.cloud.ipfs.team', // IPFS dev server
Discovery: {
MDNS: {
Enabled: false,
Interval: 10
},
webRTCStar: {
Enabled: true
}
},
})
function handleError(e) {

View File

@ -10,8 +10,18 @@ const key = 'greeting'
const elm = document.getElementById("result")
const ipfs = new IPFS({
IpfsDataDir: '/tmp/orbit-db-examples',
// dev server: webrtc-star-signalling.cloud.ipfs.team
SignalServer: '188.166.203.82:20000',
SignalServer: 'star-signal.cloud.ipfs.team', // IPFS dev server
Discovery: {
MDNS: {
Enabled: false,
Interval: 10
},
webRTCStar: {
Enabled: true
}
},
})
function handleError(e) {