git ssb

7+

dinoworm ๐Ÿ› / patchcore



Tree: 8714e0ed7651bc96354eadc111d3852748e66e91

Files: 8714e0ed7651bc96354eadc111d3852748e66e91 / config.js

349 bytesRaw
1const Config = require('ssb-config/inject')
2const nest = require('depnest')
3
4exports.gives = nest('config.sync.load')
5exports.create = (api) => {
6 var config
7 return nest('config.sync.load', () => {
8 if (!config) {
9 config = Config(process.env.ssb_appname)
10 config.manifest = require('./manifest.json')
11 }
12 return config
13 })
14}
15

Built with git-ssb-web