Tried to create an issue on the other repo but cannot.
Within node-fetch if the fetch operation returns a redirect node-fetch resolves the URL which means relative URLs aren't left as is. This is different from what the fetch API does within CF (and all browsers).
const locationURL = location === null ? null : url.resolve(request.url, location);
It should be left as is.
Tried to create an issue on the other repo but cannot.
Within node-fetch if the fetch operation returns a redirect node-fetch resolves the URL which means relative URLs aren't left as is. This is different from what the fetch API does within CF (and all browsers).
It should be left as is.