I have Konva scene with images which url is pointing to google could bucket. Images are public and can be simply opened from browser by url. When trying to export scene using
scene.toDataURL()
I get CORS error.
According to solution from Konva docs I tried to set crossOrigin of image element to Anonymous, but it does not help, I get error:
CORS header ‘Access-Control-Allow-Origin’ missing
I am thinking of preloading images from bucket before page render and pasting its data with context, but hope there is more simple solution, thanks in advance.