fix gpt-4 web unusual activity (#615)

This commit is contained in:
josc146
2024-01-25 13:20:57 +08:00
parent e28ec22caf
commit e2c8041667
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -258,7 +258,9 @@ try {
}
setUserConfig({
chatgptArkoseReqUrl: details.url,
chatgptArkoseReqForm: formData.toString(),
chatgptArkoseReqForm:
formData.toString() ||
new TextDecoder('utf-8').decode(new Uint8Array(details.requestBody.raw[0].bytes)),
}).then(() => {
console.log('Arkose req url and form saved')
})
+1 -1
View File
@@ -56,7 +56,7 @@
{
"operation": "set",
"header": "referer",
"value": "https://tcr9i.chat.openai.com/v2/1.5.5/enforcement.fbfc14b0d793c6ef8359e0e4b4a91f67.html"
"value": "https://tcr9i.chat.openai.com/v2/2.3.4/enforcement.c70df15cb97792b18c2f4978b68954a0.html"
}
]
},