git ssb

10+

Matt McKegg / patchwork



Tree: 99aead0a4c4797532b2986ba64d8c30f3d3c5993

Files: 99aead0a4c4797532b2986ba64d8c30f3d3c5993 / 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