Browse Source

Merge pull request #17 from ssbc/pw_name

set ssb-config appname via $ssb_appname envvar.
Paul Frazee 5 years ago
parent
commit
e0e030daf0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/index.js

+ 2
- 2
app/index.js View File

@@ -5,7 +5,7 @@ var http = require('http')
5 5
 var fs   = require('fs')
6 6
 
7 7
 var windows    = require('./lib/windows')
8
-var config     = require('ssb-config')
8
+var config     = require('ssb-config/inject')(process.env.ssb_appname)
9 9
 var ssbKeys    = require('ssb-keys')
10 10
 var createSbot = require('scuttlebot')
11 11
   .use(require('scuttlebot/plugins/master'))
@@ -59,4 +59,4 @@ app.on('ready', function () {
59 59
   //   ]
60 60
   // }]))
61 61
 
62
-});
62
+});

Loading…
Cancel
Save