mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: update headers
This commit is contained in:
parent
b5b7fe31ae
commit
781e0f4102
3 changed files with 7 additions and 27 deletions
|
@ -104,9 +104,9 @@ export class DownloadManager {
|
|||
|
||||
console.log(downloadLink, token, "<<<");
|
||||
|
||||
GenericHTTPDownloader.startDownload(game, downloadLink, [
|
||||
`Cookie: accountToken=${token}`,
|
||||
]);
|
||||
GenericHTTPDownloader.startDownload(game, downloadLink, {
|
||||
Cookie: `accountToken=${token}`,
|
||||
});
|
||||
} else if (game.downloader === Downloader.PixelDrain) {
|
||||
const id = game!.uri!.split("/").pop();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue