mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-18 02:31:24 +10:00
fix: Move Authorization header generation to download_game_chunk()
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@ -274,7 +274,7 @@ impl GameDownloadAgent {
|
||||
("name", &context.file_name),
|
||||
("chunk", &context.index.to_string()),
|
||||
],
|
||||
|r| r.header("Authorization", generate_authorization_header()),
|
||||
|r| { r },
|
||||
) {
|
||||
Ok(request) => request,
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user