diff options
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -40,6 +40,11 @@ function App(sbot, config) { this.previewContacts = conf.previewContacts == null ? false : conf.previewContacts this.useOoo = conf.ooo == null ? false : conf.ooo this.ssbPort = 8008 + /* + var capsConfig = config.caps || {} + this.userInviteCap = capsConfig.userInvite + || new Buffer('MxiG/9q04kN2C6vJQKa6ZhAj0G/FdfRkmeGTMnpsoek=', 'base64') + */ var host1 = /:/.test(this.host) ? '[' + this.host + ']' : this.host this.baseUrl = 'http://' + host1 + ':' + this.port |