send html
This commit is contained in:
@@ -39,6 +39,8 @@ module.exports = CompileController =
|
||||
for file in outputFiles
|
||||
if file.path?.match(/output\.pdf$/)
|
||||
status = "success"
|
||||
if file.path?.match(/output\.html$/)
|
||||
status = "success"
|
||||
# log an error if any core files are found
|
||||
for file in outputFiles
|
||||
if file.path is "core"
|
||||
|
||||
@@ -36,7 +36,7 @@ module.exports = LatexRunner =
|
||||
console.log(mainFile)
|
||||
console.log(image)
|
||||
image = "ivotron/pandoc"
|
||||
command = ["-o", "$COMPILE_DIR/output.pdf", "/compile/word.docx"]
|
||||
command = ["-o", "$COMPILE_DIR/output.html", "/compile/" + mainFile]
|
||||
|
||||
id = "#{project_id}" # record running project under this id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user