fix: bing error.

This commit is contained in:
Dekotale
2023-05-29 17:48:10 +02:00
committed by josc146
parent 16f91b53b5
commit 874390d2fb
-2
View File
@@ -62,8 +62,6 @@ export default class BingAIClient {
(this.options.userToken ? `_U=${this.options.userToken}` : undefined),
Referer: 'https://www.bing.com/search?q=Bing+AI&showconv=1&FORM=hpcodx',
'Referrer-Policy': 'origin-when-cross-origin',
// Workaround for request being blocked due to geolocation
'x-forwarded-for': '1.1.1.1',
},
}
if (this.options.proxy) {