More logs

This commit is contained in:
Ajay
2025-04-21 12:39:14 -04:00
parent fccebfa487
commit 039fb3ac7a
2 changed files with 2 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ export async function postBranding(req: Request, res: Response) {
"title": hashedUserID, "title": hashedUserID,
"url": `https://www.youtube.com/watch?v=${videoID}`, "url": `https://www.youtube.com/watch?v=${videoID}`,
"description": `**User Agent**: ${userAgent}\ "description": `**User Agent**: ${userAgent}\
\n**Sent User Agent**: ${req.body.userAgent}\
\n**Real User Agent**: ${req.headers["user-agent"]}\ \n**Real User Agent**: ${req.headers["user-agent"]}\
\n**Video Duration**: ${videoDuration}`, \n**Video Duration**: ${videoDuration}`,
"color": 1184701, "color": 1184701,

View File

@@ -519,6 +519,7 @@ export async function postSkipSegments(req: Request, res: Response): Promise<Res
"title": userID, "title": userID,
"url": `https://www.youtube.com/watch?v=${videoID}`, "url": `https://www.youtube.com/watch?v=${videoID}`,
"description": `**User Agent**: ${userAgent}\ "description": `**User Agent**: ${userAgent}\
\n**Sent User Agent**: ${req.query.userAgent ?? req.body.userAgent}\
\n**Real User Agent**: ${req.headers["user-agent"]}\ \n**Real User Agent**: ${req.headers["user-agent"]}\
\n**Video Duration**: ${videoDurationParam}`, \n**Video Duration**: ${videoDurationParam}`,
"color": 10813440, "color": 10813440,