Cordova + jQuery mobile Contents Security Policy error
error code :
jquery.mobile-1.4.5.js:2034 Refused to load the image 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==' because it violates the following Content Security Policy directive: "default-src *". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
Add this code to "Content-Security-Policy"
img-src 'self' data:;
It will be success
댓글 없음:
댓글 쓰기