git ssb

0+

mixmix / scuttle-gathering



Tree: 05e5e97a80eb654ea1c48fa695db2c863c34a3c5

Files: 05e5e97a80eb654ea1c48fa695db2c863c34a3c5 / research / config.js

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

Built with git-ssb-web