
--remote be the same?
http://internal/hash IIRC the URL has to be valid
function myFetch(input: RequestInfo, init?: RequestInit<CfProperties<unknown>> | undefined): Promise<Response> {
console.log("myFetch", input, init);
return fetch(input, init);
}http://internal/hashglobalThis.fetch = new Proxy(globalThis.fetch, {
apply(target, thisArg, argArray) {
const [request, init] = argArray;
checkURL(request, init);
return Reflect.apply(target, thisArg, argArray);
},
});