api/istream: flip priority of header sources

closes #526
This commit is contained in:
dumbmoron 2024-05-28 06:19:42 +00:00
parent 669ab65be9
commit 7c39b10435
No known key found for this signature in database

View file

@ -196,8 +196,8 @@ export function runAPI(express, app, gitCommit, gitBranch, __dirname) {
} }
streamInfo.headers = { streamInfo.headers = {
...req.headers, ...streamInfo.headers,
...streamInfo.headers ...req.headers
}; };
return stream(res, { type: 'internal', ...streamInfo }); return stream(res, { type: 'internal', ...streamInfo });