mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Merge pull request #252 from sharelatex/per-user-containers-part-0
Per user containers part 0
This commit is contained in:
@@ -84,10 +84,8 @@ module.exports = ClsiManager =
|
||||
_parseOutputFiles: (project_id, rawOutputFiles = []) ->
|
||||
outputFiles = []
|
||||
for file in rawOutputFiles
|
||||
path = Url.parse(file.url).path
|
||||
path = path.replace("/project/#{project_id}/output/", "")
|
||||
outputFiles.push
|
||||
path: path
|
||||
path: file.path # the clsi is now sending this to web
|
||||
type: file.type
|
||||
build: file.build
|
||||
return outputFiles
|
||||
|
||||
@@ -45,10 +45,12 @@ describe "ClsiManager", ->
|
||||
status: @status = "success"
|
||||
outputFiles: [{
|
||||
url: "#{@settings.apis.clsi.url}/project/#{@project_id}/output/output.pdf"
|
||||
path: "output.pdf"
|
||||
type: "pdf"
|
||||
build: 1234
|
||||
},{
|
||||
url: "#{@settings.apis.clsi.url}/project/#{@project_id}/output/output.log"
|
||||
path: "output.log"
|
||||
type: "log"
|
||||
build: 1234
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user