mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
return the file path in the output file list for easy lookup
This commit is contained in:
parent
b65dfb02a4
commit
e286aede4e
2 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ module.exports = CompileController =
|
|||
error: error?.message or error
|
||||
outputFiles: outputFiles.map (file) ->
|
||||
url: "#{Settings.apis.clsi.url}/project/#{request.project_id}/output/#{file.path}"
|
||||
path: file.path
|
||||
type: file.type
|
||||
build: file.build
|
||||
}
|
||||
|
|
|
@ -76,6 +76,7 @@ describe "CompileController", ->
|
|||
error: null
|
||||
outputFiles: @output_files.map (file) =>
|
||||
url: "#{@Settings.apis.clsi.url}/project/#{@project_id}/output/#{file.path}"
|
||||
path: file.path
|
||||
type: file.type
|
||||
build: file.build
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue