mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
14 lines
348 B
JavaScript
14 lines
348 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 = {
|
|
headers:{},
|
|
};
|
|
}
|
|
return oFetch(url,options)
|
|
.then((res)=>{return res;})
|
|
.catch((err)=>{return err;});
|
|
}
|
|
}
|