Files: 4563b964294d87776749300aa07cc1fccf7861b6 / config.js
354 bytesRaw
1 | var Path = require('path') |
2 | |
3 | var appName = process.env.ssb_appname |
4 | |
5 | var config = require('ssb-config/inject')(appName, { |
6 | server: !(process.argv.includes('-g') || process.argv.includes('--use-global-ssb')), |
7 | port: 8008, |
8 | blobsPort: 7777 |
9 | }) |
10 | |
11 | config.keys = require('ssb-keys').loadOrCreateSync(Path.join(config.path, 'secret')) |
12 | |
13 | module.exports = config |
14 |
Built with git-ssb-web