aboutsummaryrefslogtreecommitdiff
path: root/server.js
blob: b64b14f7bd7332018fa735c4d31e31126462d73e (plain)
1
2
3
4
5
6
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)
})