From 74e233ecc3d0216e99fe7d22de4417cc1e6b5c37 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Wed, 17 Jul 2024 10:24:13 +0200 Subject: [PATCH] add useragent headers --- main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.js b/main.js index 514fc3b..b50f05b 100644 --- a/main.js +++ b/main.js @@ -339,6 +339,8 @@ function registerIPCPipes() { }), headers: { "Content-Type": "application/json", + "User-Agent": + "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0", }, });