Refused to connect to because it violates the following Content Security Policy directive: "connect-src https: localhost:* ws://localhost:*". code example

Example: Refused to load the imagebecause it violates the following Content Security Policy directive: "img-src 'self' data: content:".

<meta http-equiv="Content-Security-Policy" content="default-src * gap:; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src *; img-src * data: blob: android-webview-video-poster:; style-src * 'unsafe-inline';">

Tags:

Misc Example