2016년 4월 1일 금요일

Cordova + jQuery mobile Contents Security policy error

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

댓글 없음:

댓글 쓰기

JIRA Plugin - ScriptRunner 소개 #2

관련 글 소개 #1:  https://pineoc.blogspot.com/2019/03/scriptrunner-1.html ScriptRunner 소개 #2 지난 글에서는 Behaviours를 보았고 다음 내용인 콘솔, 리스너 등을 ...