feat: update client info

This commit is contained in:
Elysia
2023-06-24 01:45:00 +07:00
parent 390463e115
commit 1782542776
2 changed files with 3 additions and 5 deletions

View File

@@ -55,9 +55,7 @@ class APIRequest {
...this.client.options.http.headers,
accept: '*/*',
'accept-language': 'en-US',
'sec-ch-ua': `"Not?A_Brand";v="8", "Chromium";v="${
/Chrome\/(\d+)/.exec(this.client.options.http.headers['User-Agent'])[1]
}"`,
'sec-ch-ua': `"Not?A_Brand";v="8", "Chromium";v="108"`,
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',