git ssb

0+

mixmix / ssb-meme



Tree: bbaaa1c60c26a697ba2488dce104d17c1d016c5b

Files: bbaaa1c60c26a697ba2488dce104d17c1d016c5b / test / config.js

426 bytesRaw
1const Config = require('ssb-config/inject')
2// const Config = require('ssb-config')
3const ssbKeys = require('ssb-keys')
4const Path = require('path')
5
6const appName = 'ssb' // <<< NOTE THIS IS YOUR DEFAULT IDENTITY
7const opts = null // can set things in here
8
9const config = Config(appName, opts)
10Object.assign(config, {
11 appName,
12 keys: ssbKeys.loadOrCreateSync(Path.join(config.path, 'secret'))
13})
14
15module.exports = config
16

Built with git-ssb-web