From c1cde643efb1222245aecc4c7308de53985b3782 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 2 Mar 2015 14:59:53 +0000 Subject: [PATCH] use send build identifier to clsi only for new pdf viewer old pdf viewer will continue to use the main ouput.pdf file --- .../web/app/coffee/Features/Compile/CompileController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Compile/CompileController.coffee b/services/web/app/coffee/Features/Compile/CompileController.coffee index 16840ef576..9dd52b4e66 100755 --- a/services/web/app/coffee/Features/Compile/CompileController.coffee +++ b/services/web/app/coffee/Features/Compile/CompileController.coffee @@ -88,7 +88,7 @@ module.exports = CompileController = # the base request options = { url: url, method: req.method, timeout: oneMinute } # if we have a build parameter, pass it through to the clsi - if req.query?.build? + if req.query?.pdfng && req.query?.build? # only for new pdf viewer options.qs = {} options.qs.build = req.query.build # if we are byte serving pdfs, pass through If-* and Range headers