Files: adf8a7771064a6d9a18b6005e625fadbd6fb9846 / config.js
245 bytesRaw
1 | const Config = require('ssb-config/inject') |
2 | |
3 | module.exports = { |
4 | gives: 'config', |
5 | create: () => { |
6 | var config |
7 | return () => { |
8 | if (!config) { |
9 | config = Config(process.env.ssb_appname) |
10 | } |
11 | return config |
12 | } |
13 | } |
14 | } |
15 |
Built with git-ssb-web