add references host into settings

This commit is contained in:
Henry Oswald 2018-05-30 15:28:59 +01:00
parent 6db3bf59a6
commit a747480425
2 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,8 @@ Async = require('async')
oneMinInMs = 60 * 1000 oneMinInMs = 60 * 1000
fiveMinsInMs = oneMinInMs * 5 fiveMinsInMs = oneMinInMs * 5
if !settings.apis?.references?.url?
logger.log "references search not enabled"
module.exports = ReferencesHandler = module.exports = ReferencesHandler =

View file

@ -146,8 +146,8 @@ module.exports = settings =
url: "http://#{process.env['CONTACTS_HOST'] or 'localhost'}:3036" url: "http://#{process.env['CONTACTS_HOST'] or 'localhost'}:3036"
sixpack: sixpack:
url: "" url: ""
# references: references:
# url: "http://localhost:3040" url: "http://#{process.env['REFERENCES_HOST'] or 'localhost'}:3040"
notifications: notifications:
url: "http://#{process.env['NOTIFICATIONS_HOST'] or 'localhost'}:3042" url: "http://#{process.env['NOTIFICATIONS_HOST'] or 'localhost'}:3042"
analytics: analytics: