We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e3383 commit 3bf0ff1Copy full SHA for 3bf0ff1
src/proxy.js
@@ -95,7 +95,7 @@ async function proxy(request) {
95
const basePath = `${baseUrl.protocol}//${baseUrl.host}${baseUrl.pathname.substring(0, baseUrl.pathname.lastIndexOf('/') + 1)}`;
96
response = await fetch(mediaUrl, {
97
headers: {
98
- ...Object.fromEntries(decodedHeaders.entries()),
+ ...decodedHeaders,
99
'Accept-Encoding': 'gzip, deflate, br',
100
Connection: 'keep-alive',
101
},
0 commit comments