diff --git a/services/web/app/coffee/Features/Compile/ClsiManager.coffee b/services/web/app/coffee/Features/Compile/ClsiManager.coffee index 602a446ab4..d3732cdf9f 100755 --- a/services/web/app/coffee/Features/Compile/ClsiManager.coffee +++ b/services/web/app/coffee/Features/Compile/ClsiManager.coffee @@ -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 diff --git a/services/web/test/UnitTests/coffee/Compile/ClsiManagerTests.coffee b/services/web/test/UnitTests/coffee/Compile/ClsiManagerTests.coffee index 211ef9b1f9..a46fcda83e 100644 --- a/services/web/test/UnitTests/coffee/Compile/ClsiManagerTests.coffee +++ b/services/web/test/UnitTests/coffee/Compile/ClsiManagerTests.coffee @@ -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 }]