mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:03:42 -05:00
add references host into settings
This commit is contained in:
parent
6db3bf59a6
commit
a747480425
2 changed files with 4 additions and 2 deletions
|
@ -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 =
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue