javascript - Fetch API blob security violation -


based on fetch api return image/png can retrieve blob object.

however problem comes when using

url.createobjecturl(pictureblobobject);

refused load image 'blob:http%3a//localhost...' because violates following content security policy directive: "img-src * data:".

i have indeed csp rule defined @ index.html, i'm not getting reason problem, , how not passing rule can render png.


Comments