Last active
September 24, 2021 13:15
-
-
Save daviddahl/f186d83cce696f2729133f7a092165f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Gun = require('gun/gun'); | |
const SEA = require('gun/sea'); | |
const radix = require('gun/lib/radix'); | |
const radisk = require('gun/lib/radisk'); | |
const store = require('gun/lib/store'); | |
const rindexed = require('gun/lib/rindexed'); | |
const webrtc = require('gun/lib/webrtc'); | |
const myGun = new Gun({ | |
peers: ['http://localhost:8765/gun', 'https://other-host.com'], | |
radisk: radisk || false, | |
localStorage: false | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment