git ssb

7+

dinoworm ๐Ÿ› / patchcore



Tree: 377c8e80ded6586633d47e9bc446ee5317770603

Files: 377c8e80ded6586633d47e9bc446ee5317770603 / 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