mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
15 lines
380 B
JavaScript
15 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;});
|
|
}
|
|
}
|