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 d6510d5 commit 06ab813Copy full SHA for 06ab813
src/common/utils/fileUtils.ts
@@ -17,7 +17,6 @@ export async function downloadFile(params: {
17
const abortController = new AbortController();
18
const timeoutSignal = AbortSignal.timeout(timeoutInSeconds * 1000);
19
const headers: { [key: string]: string; } = {};
20
- // Extract basic auth from URL and construct an Authorization header instead.
21
if (basicAuthUsername && basicAuthPassword) {
22
headers["Authorization"] = "Basic " + btoa(`${basicAuthUsername}:${basicAuthPassword}`);
23
}
0 commit comments