git ssb

7+

dinoworm ๐Ÿ› / patchcore



Tree: c37b77100b717d2153490f09756750a8b807bdf9

Files: c37b77100b717d2153490f09756750a8b807bdf9 / 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