diff options
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ -require('ssb-client')(function (err, sbot, config) { +var createConfig = require('ssb-config/inject') +var config = createConfig(process.env.ssb_appname) +require('ssb-client')(config, function (err, sbot) { if (err) throw err require('.').init(sbot, config) }) |