Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrikandersen committed Dec 4, 2024
1 parent d6510d5 commit 06ab813
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/utils/fileUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export async function downloadFile(params: {
const abortController = new AbortController();
const timeoutSignal = AbortSignal.timeout(timeoutInSeconds * 1000);
const headers: { [key: string]: string; } = {};
// Extract basic auth from URL and construct an Authorization header instead.
if (basicAuthUsername && basicAuthPassword) {
headers["Authorization"] = "Basic " + btoa(`${basicAuthUsername}:${basicAuthPassword}`);
}
Expand Down

0 comments on commit 06ab813

Please sign in to comment.