mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
put tpdsworker url in from settings
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user