feat: update headers

This commit is contained in:
Zamitto 2024-07-15 22:29:34 -03:00
parent b5b7fe31ae
commit 781e0f4102
3 changed files with 7 additions and 27 deletions

View file

@ -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();