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