diff --git a/src/core/api.js b/src/core/api.js index d822136f..c90f78f7 100644 --- a/src/core/api.js +++ b/src/core/api.js @@ -196,8 +196,8 @@ export function runAPI(express, app, gitCommit, gitBranch, __dirname) { } streamInfo.headers = { - ...req.headers, - ...streamInfo.headers + ...streamInfo.headers, + ...req.headers }; return stream(res, { type: 'internal', ...streamInfo });