quick hack to overright image name further down stack

This commit is contained in:
Henry Oswald
2018-07-13 11:46:37 +01:00
parent 7fc9412141
commit 3545852173
2 changed files with 5 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ module.exports = RequestParser =
sanitizedRootResourcePath = RequestParser._sanitizePath(rootResourcePath)
response.rootResourcePath = RequestParser._checkPath(sanitizedRootResourcePath)
if settings.texliveImageNameOveride?
if settings.texliveImageNameOveride? and compile.options?.imageName?
tag = compile.options.imageName.split(":")[1]
response.imageName = "#{settings.texliveImageNameOveride}:#{tag}"