瀏覽代碼

Merge pull request #3662 from overleaf/jpa-fix-proxying-of-clsi-requests

[CompileController] fix proxying of requests w/o clsiserverid

GitOrigin-RevId: 5c29f2f9279097f3c969e8a86ea478806b3b3eee
Jakob Ackermann 5 年之前
父節點
當前提交
e3790b299f
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/web/app/src/Features/Compile/CompileController.js

+ 1 - 1
services/web/app/src/Features/Compile/CompileController.js

@@ -488,7 +488,7 @@ module.exports = CompileController = {
       }
       }
       // add any provided query string
       // add any provided query string
       if (qs != null) {
       if (qs != null) {
-        options.qs = Object.assign(options.qs, qs)
+        options.qs = Object.assign(options.qs || {}, qs)
       }
       }
       // if we have a build parameter, pass it through to the clsi
       // if we have a build parameter, pass it through to the clsi
       if (
       if (