git ssb

7+

dinoworm ๐Ÿ› / patchcore



Tree: d4f3d13dd8e276d6c251fd0df3e846307c5ae24d

Files: d4f3d13dd8e276d6c251fd0df3e846307c5ae24d / config.js

298 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 }
11 return config
12 })
13}
14

Built with git-ssb-web