diff --git a/services/web/app/coffee/Features/Compile/ClsiManager.coffee b/services/web/app/coffee/Features/Compile/ClsiManager.coffee index 174ebe830b..0b8cf1b0b3 100755 --- a/services/web/app/coffee/Features/Compile/ClsiManager.coffee +++ b/services/web/app/coffee/Features/Compile/ClsiManager.coffee @@ -37,6 +37,8 @@ module.exports = ClsiManager = url: "#{compilerUrl}/project/#{project_id}/compile" json: req jar: false + query: + project_id:project_id }, (error, response, body) -> return callback(error) if error? if 200 <= response.statusCode < 300 diff --git a/services/web/app/coffee/Features/Compile/CompileController.coffee b/services/web/app/coffee/Features/Compile/CompileController.coffee index 89fbc87e2e..54b3b1b598 100755 --- a/services/web/app/coffee/Features/Compile/CompileController.coffee +++ b/services/web/app/coffee/Features/Compile/CompileController.coffee @@ -127,6 +127,7 @@ module.exports = CompileController = for h, v of req.headers newHeaders[h] = req.headers[h] if h.match /^(If-|Range)/i options.headers = newHeaders + req.query.project_id = project_id proxy = request(options) proxy.pipe(res) proxy.on "error", (error) ->