I have little problem. I need to connect image from the internet in my app, but I encounter error.
Refused to load the image 'http//testdomain/test_img.jpg' because it violates the following Content Security Policy directive: "img-src 'self' data: chrome-extension-resource:".
manifest.json
{
"name": "TEST",
"description": "TEST for TEST",
"version": "0.1",
"app": {
"background": {
"scripts": ["background.js"]
}
},
"permissions": [
"storage",
"fullscreen",
],
"content_security_policy": "img-src 'self' data: chrome-extension-resource:;",
"icons": {"128": "icon.png" }
}
index.html
<html><img src="http://testdomain/test_img.jpg"></html>