feature: change ssb-config appname via $ssb_appname envvar. makes testing onboarding easy
This commit is contained in:
parent
9cba00215b
commit
37e49387bb
@ -5,7 +5,7 @@ var http = require('http')
|
|||||||
var fs = require('fs')
|
var fs = require('fs')
|
||||||
|
|
||||||
var windows = require('./lib/windows')
|
var windows = require('./lib/windows')
|
||||||
var config = require('ssb-config')
|
var config = require('ssb-config/inject')(process.env.ssb_appname)
|
||||||
var ssbKeys = require('ssb-keys')
|
var ssbKeys = require('ssb-keys')
|
||||||
var createSbot = require('scuttlebot')
|
var createSbot = require('scuttlebot')
|
||||||
.use(require('scuttlebot/plugins/master'))
|
.use(require('scuttlebot/plugins/master'))
|
||||||
@ -59,4 +59,4 @@ app.on('ready', function () {
|
|||||||
// ]
|
// ]
|
||||||
// }]))
|
// }]))
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user