mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
put tpdsworker url in from settings
This commit is contained in:
parent
2ec925b45e
commit
b83fe4dcf9
2 changed files with 3 additions and 2 deletions
|
@ -20,13 +20,12 @@ module.exports = TpdsUpdateSender =
|
|||
|
||||
_enqueue: (group, method, job, callback)->
|
||||
opts =
|
||||
uri:"http://localhost:3030/enqueue/web_to_tpds_http_requests"
|
||||
uri:"#{settings.apis.tpdsworker.url}/enqueue/web_to_tpds_http_requests"
|
||||
json :
|
||||
group:group
|
||||
method:method
|
||||
job:job
|
||||
method:"post"
|
||||
|
||||
request opts, (err)->
|
||||
if err?
|
||||
callback(err)
|
||||
|
|
|
@ -68,6 +68,8 @@ module.exports =
|
|||
thirdPartyDataStore:
|
||||
url : "http://localhost:3002"
|
||||
emptyProjectFlushDelayMiliseconds: 5 * seconds
|
||||
tpdsworker:
|
||||
url: "http://localhost:3030"
|
||||
tags:
|
||||
url :"http://localhost:3012"
|
||||
spelling:
|
||||
|
|
Loading…
Reference in a new issue