Commit 6cc8cd15764104d1cbb616e1ab246bbde516d6a9
Setup with local testnet
Josiah Witt committed on 2/25/2018, 1:49:37 AMParent: 011ddc7e8f1977900832da37876ff81783bc7b9f
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -41,9 +41,9 @@ | |||
41 | 41 … | ||
42 | 42 … | quitIfAlreadyRunning() | |
43 | 43 … | ||
44 | 44 … | electron.app.on('ready', () => { | |
45 | - setupContext('ssb', { | ||
45 … | + setupContext('ssb-test', { | ||
46 | 46 … | server: !(process.argv.includes('-g') || process.argv.includes('--use-global-ssb')) | |
47 | 47 … | }, () => { | |
48 | 48 … | var menu = defaultMenu(electron.app, electron.shell) | |
49 | 49 … | var view = menu.find(x => x.label === 'View') | |
@@ -129,10 +129,10 @@ | |||
129 | 129 … | } | |
130 | 130 … | } | |
131 | 131 … | ||
132 | 132 … | function setupContext (appName, opts, cb) { | |
133 | - ssbConfig = require('ssb-config/inject')(appName, extend({ | ||
134 | - port: 8008, | ||
133 … | + ssbConfig = require('../ssb-config/inject')(appName, extend({ | ||
134 … | + port: 8007, | ||
135 | 135 … | blobsPort: 7777, | |
136 | 136 … | friends: { | |
137 | 137 … | dunbar: 150, | |
138 | 138 … | hops: 2 // down from 3 |
Built with git-ssb-web