From cd3686e92b9ffbbe54838b1200c4f25fc69326f7 Mon Sep 17 00:00:00 2001 From: xLuxy <67131061+xLuxy@users.noreply.github.com> Date: Sat, 16 Dec 2023 12:12:15 +0100 Subject: [PATCH] Fix QA branches download --- bin/altv-pkg.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/altv-pkg.js b/bin/altv-pkg.js index 77f30e1..c4503dc 100644 --- a/bin/altv-pkg.js +++ b/bin/altv-pkg.js @@ -373,7 +373,7 @@ async function start() { console.log(chalk.whiteBright(`${file}`)); const promise = new Promise(async (resolve) => { - const response = await fetch(url).catch((err) => { + const response = await fetch(url, { headers }).catch((err) => { return undefined; }); diff --git a/package.json b/package.json index 27d6b69..13bdd80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "altv-pkg", - "version": "2.7.4", + "version": "2.7.5", "description": "Install alt:V Binaries Quickly", "main": "bin/index.js", "author": "Stuyk & alt:V Team",