Commit 32d251a78db95ceb448ed94743c944b8be3de181
clean config.js, upgrade patchbay to ^
Michael Williams committed on 12/4/2016, 9:53:14 AMParent: 4563b964294d87776749300aa07cc1fccf7861b6
Files changed
config.js | changed |
package.json | changed |
config.js | ||
---|---|---|
@@ -1,13 +1,16 @@ | ||
1 | 1 … | var Path = require('path') |
2 … | +var ssbKeys = require('ssb-keys') | |
2 | 3 … | |
3 | -var appName = process.env.ssb_appname | |
4 … | +var appName = process.env.ssb_appname | |
4 | 5 … | |
5 | 6 … | var config = require('ssb-config/inject')(appName, { |
6 | 7 … | server: !(process.argv.includes('-g') || process.argv.includes('--use-global-ssb')), |
7 | 8 … | port: 8008, |
8 | 9 … | blobsPort: 7777 |
9 | 10 … | }) |
10 | 11 … | |
11 | -config.keys = require('ssb-keys').loadOrCreateSync(Path.join(config.path, 'secret')) | |
12 … | +config.keys = ssbKeys.loadOrCreateSync( | |
13 … | + Path.join(config.path, 'secret') | |
14 … | +) | |
12 | 15 … | |
13 | 16 … | module.exports = config |
package.json | ||
---|---|---|
@@ -27,9 +27,9 @@ | ||
27 | 27 … | "micro-css": "~0.6.2", |
28 | 28 … | "non-private-ip": "^1.4.1", |
29 | 29 … | "on-change-network": "0.0.2", |
30 | 30 … | "on-wakeup": "^1.0.1", |
31 | - "patchbay": "~5.0.0", | |
31 … | + "patchbay": "^5.4.0", | |
32 | 32 … | "prebuild": "github:mmckegg/prebuild#use-npm-conf", |
33 | 33 … | "pull-abortable": "^4.1.0", |
34 | 34 … | "pull-file": "~1.0.0", |
35 | 35 … | "pull-identify-filetype": "^1.1.0", |
Built with git-ssb-web