feature: change ssb-config appname via $ssb_appname envvar. makes testing onboarding easy

This commit is contained in:
Dominic Tarr 2015-08-15 19:49:42 +02:00
parent 9cba00215b
commit 37e49387bb

View File

@ -5,7 +5,7 @@ var http = require('http')
var fs = require('fs')
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 createSbot = require('scuttlebot')
.use(require('scuttlebot/plugins/master'))
@ -59,4 +59,4 @@ app.on('ready', function () {
// ]
// }]))
});
});