mirror of https://github.com/torappinfo/uweb
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
380 B
JavaScript
16 lines
380 B
JavaScript
{
|
|
const oFetch = window.fetch;
|
|
window.fetch = function(url,options){
|
|
if("https://www.bing.com/turing/conversation/create"==url){
|
|
url = "https://mybing2.xn--xyza.top/Create";
|
|
options = {
|
|
credentials: 'include',
|
|
headers:{},
|
|
};
|
|
}
|
|
return oFetch(url,options)
|
|
.then((res)=>{return res;})
|
|
.catch((err)=>{return err;});
|
|
}
|
|
}
|