git ssb

10+

Matt McKegg / patchwork



Tree: c6d1abe2035f17f456b7dac57fdbc88a3a10eff0

Files: c6d1abe2035f17f456b7dac57fdbc88a3a10eff0 / config.js

379 bytesRaw
1var Path = require('path')
2var ssbKeys = require('ssb-keys')
3
4var appName = process.env.ssb_appname
5
6var config = require('ssb-config/inject')(appName, {
7 server: !(process.argv.includes('-g') || process.argv.includes('--use-global-ssb')),
8 port: 8008,
9 blobsPort: 7777
10})
11
12config.keys = ssbKeys.loadOrCreateSync(
13 Path.join(config.path, 'secret')
14)
15
16module.exports = config
17

Built with git-ssb-web