git ssb

10+

Matt McKegg / patchwork



Tree: 4563b964294d87776749300aa07cc1fccf7861b6

Files: 4563b964294d87776749300aa07cc1fccf7861b6 / config.js

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

Built with git-ssb-web