git ssb

7+

dinoworm ๐Ÿ› / patchcore



Tree: 5950faeacb8769b5500975e38947b096080a2de0

Files: 5950faeacb8769b5500975e38947b096080a2de0 / 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