git ssb

10+

Matt McKegg / patchwork



Tree: 32d251a78db95ceb448ed94743c944b8be3de181

Files: 32d251a78db95ceb448ed94743c944b8be3de181 / 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