fetch(url).then((response) => {
return response.blob();
}).then(blob => {
return URL.createObjectURL(blob);
});
My url
in fetch()
actually a image url of different domain which is OSS_URL of Alibaba Cloud.
How can i have full access over it.
you should config CORS on your Alibaba cloud. check their docs like here