I'm using react-leaflet
version 4.2.1 and got the error message: "Refused to load the image '<URL>' because it violates the following Content Security Policy directive: "img-src 'self' blob: data:"
I've added a <meta />
tag to the index.html
as describe:
<meta http-equiv="Content-Security-Policy" content="
worker-src blob:;
child-src blob: gap:;
default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
and it doesn't solve the problem.
Any ideas?