mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-03 14:22:34 +00:00
Merge branch 'master' into ho-dockerise
This commit is contained in:
commit
0589c8c544
3 changed files with 6 additions and 2 deletions
|
@ -42,6 +42,10 @@ module.exports = CompileController =
|
|||
status = "success"
|
||||
if status == "failure"
|
||||
logger.err project_id: request.project_id, outputFiles:outputFiles, "project failed to compile successfully, no output.pdf generated"
|
||||
# log an error if any core files are found
|
||||
for file in outputFiles
|
||||
if file.path is "core"
|
||||
logger.error project_id:request.project_id, req:req, outputFiles:outputFiles, "core file found in output"
|
||||
|
||||
timer.done()
|
||||
res.status(code or 200).send {
|
||||
|
|
|
@ -19,7 +19,8 @@ module.exports =
|
|||
internal:
|
||||
clsi:
|
||||
port: 3013
|
||||
host: process.env["LISTEN_ADDRESS"] or "0.0.0.0"
|
||||
host: process.env["LISTEN_ADDRESS"] or "localhost"
|
||||
|
||||
apis:
|
||||
clsi:
|
||||
url: "http://#{process.env['CLSI_HOST'] or 'localhost'}:3013"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
"compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests",
|
||||
"nodemon": "nodemon --config nodemon.json"
|
||||
},
|
||||
"author": "James Allen <james@sharelatex.com>",
|
||||
"dependencies": {
|
||||
"async": "0.2.9",
|
||||
"body-parser": "^1.2.0",
|
||||
|
|
Loading…
Reference in a new issue