1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-23 06:28:07 +00:00
This commit is contained in:
Henry Oswald 2016-05-19 16:57:19 +01:00
commit 786b9cdb84
3 changed files with 4 additions and 2 deletions

View file

@ -158,8 +158,8 @@ server = net.createServer (socket) ->
socket.write("up, #{freeLoadPercentage}%\n", "ASCII")
socket.end()
server.listen port = (Settings.internal?.clsi?.load_port or 3044), ->
logger.info "tcp load endpoint listening on port #{port}"
server.listen load_port = (Settings.internal?.clsi?.load_port or 3044), ->
logger.info "tcp load endpoint listening on port #{load_port}"
# telnet 127.0.0.1 3044

View file

@ -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
}

View file

@ -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
)