diff --git a/scripts/utils.js b/scripts/utils.js index f3c0728..645dc78 100644 --- a/scripts/utils.js +++ b/scripts/utils.js @@ -56,9 +56,6 @@ export async function request (path, method, body = null, auth = true) { content.body = prms.toString(); content.headers.CSRFPreventionToken = getCookie("CSRFPreventionToken"); } - if(auth) { - content.headers.Cookie = `PVEAuthCookie=${getCookie("PVEAuthCookie")}`; - } let response = await fetch(`https://pve.tronnet.net/api2/json${path}`, content) .then((response) => {