Use ipfs signalling server in examples
This commit is contained in:
parent
026740faa9
commit
1230479aee
@ -11,12 +11,15 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
const username = new Date().getTime()
|
||||
const channel = 'browser-examples'
|
||||
const channel = 'orbitdb-browser-examples'
|
||||
const key = 'greeting'
|
||||
|
||||
const elm = document.getElementById("result")
|
||||
|
||||
const ipfs = new IpfsDaemon()
|
||||
const ipfs = new IpfsDaemon({
|
||||
// dev server: webrtc-star-signalling.cloud.ipfs.team
|
||||
SignalServer: '188.166.203.82:20000',
|
||||
})
|
||||
|
||||
function handleError(e) {
|
||||
console.error(e.stack)
|
||||
|
@ -4,12 +4,15 @@ const IPFS = require('ipfs-daemon/src/ipfs-browser-daemon')
|
||||
const OrbitDB = require('../../src/OrbitDB')
|
||||
|
||||
const username = new Date().getTime()
|
||||
const channel = 'browser-examples'
|
||||
const channel = 'orbitdb-browser-examples'
|
||||
const key = 'greeting'
|
||||
|
||||
const elm = document.getElementById("result")
|
||||
|
||||
const ipfs = new IPFS()
|
||||
const ipfs = new IPFS({
|
||||
// dev server: webrtc-star-signalling.cloud.ipfs.team
|
||||
SignalServer: '188.166.203.82:20000',
|
||||
})
|
||||
|
||||
function handleError(e) {
|
||||
console.error(e.stack)
|
||||
|
Loading…
x
Reference in New Issue
Block a user