refactor: move User-Agent

main
spacemeowx2 2022-12-14 19:03:12 +08:00
parent 3841426a0a
commit 186eb18b85
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ export async function loginManually(
"Connection": "keep-alive", "Connection": "keep-alive",
"Cache-Control": "max-age=0", "Cache-Control": "max-age=0",
"Upgrade-Insecure-Requests": "1", "Upgrade-Insecure-Requests": "1",
"User-Agent": "User-Agent": DEFAULT_APP_USER_AGENT,
"Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Mobile Safari/537.36",
"Accept": "Accept":
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8n", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8n",
"DNT": "1", "DNT": "1",