mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 20:51:57 +00:00
fix urls of downloaded files to those provided by clsi
This commit is contained in:
parent
830d15136d
commit
ed6c384b68
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ define [
|
||||||
file.name = "#{file.path.replace(/^output\./, "")} file"
|
file.name = "#{file.path.replace(/^output\./, "")} file"
|
||||||
else
|
else
|
||||||
file.name = file.path
|
file.name = file.path
|
||||||
file.url = "/project/#{project_id}/output/#{file.path}"
|
if not file.url?
|
||||||
|
file.url = "/project/#{project_id}/output/#{file.path}"
|
||||||
if response.clsiServerId?
|
if response.clsiServerId?
|
||||||
file.url = file.url + "?clsiserverid=#{response.clsiServerId}"
|
file.url = file.url + "?clsiserverid=#{response.clsiServerId}"
|
||||||
$scope.pdf.outputFiles.push file
|
$scope.pdf.outputFiles.push file
|
||||||
|
|
Loading…
Reference in a new issue