diff --git a/src/modules/stream/internal.js b/src/modules/stream/internal.js index 8ab2ec76..7a155a9a 100644 --- a/src/modules/stream/internal.js +++ b/src/modules/stream/internal.js @@ -85,7 +85,7 @@ async function handleGenericStream(streamInfo, res) { try { const req = await request(streamInfo.url, { headers: { - ...streamInfo.headers, + ...Object.fromEntries(streamInfo.headers), host: undefined }, dispatcher: streamInfo.dispatcher,