This commit is contained in:
Henry Jameson 2026-01-14 15:59:17 +02:00
commit be99df9a89

View file

@ -9,6 +9,7 @@ const videoId = process.env.VIDEO_ID;
const botBearer = fs.readFileSync(botBearerFile, 'utf-8');
const userBearer = fs.readFileSync(userBearerFile, 'utf-8');
console.log('"' + botBearer + '"')
const globalState = {
exit: false,
currentlyLive: false,
@ -16,7 +17,7 @@ const globalState = {
const headers = (bearer) => ({
accept: '*/*',
authorization: `Bearer ${bearer}`,
authorization: `Bearer ${bearer.trim()}`,
'cache-control': 'no-cache',
'content-type': 'application/json',
pragma: 'no-cache',