Images loading issue when I try to put local image and try to access in app from path i will show below error on debugger
UI using Angular and jQuery
Issue message on Debugger(F12)
Refused to load the image 'unsafe:chrome-extension://omlogoojoebcjhbnnbhdehopicfcoljf/public/assets/img/avatars/avatar_02_tn.png' because it violates the following Content Security Policy directive: "img-src 'self' blob: filesystem: data: chrome-extension-resource:".
{
"name": "System App",
"description": "My first Chrome App.",
"version": "0.22",
"manifest_version": 2,
"app": {
"background": {
"scripts": ["background.js"]
}
},
"icons": {
"16": "calculator-16.png",
"128": "calculator-128.png"
},
"content_security_policy": "img-src 'self' blob: filesystem: data: chrome-extension-resource:;",
"permissions": [
"history",
"unlimitedStorage",
"storage",
"filesystem",
"debugger"
]
}
content_security_policy
key in an app's manifest – Xan Jan 27 at 17:07