Spring boot + Angularjs + 3rd party resources

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Spring boot + Angularjs + 3rd party resources



I am working on a spring boot application. My AngularJS app is placed in the src/main/resources/static folder. I want to interact with a 3rd party application. This requires



Issue is



Added the external JS in index.html. But on loading it gives following error



Refused to load the script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'".


Refused to load the script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'".



Added <meta http-equiv="Content-Security-Policy" content="script-src <cdn-domain> 'self';"> but issue persists.


<meta http-equiv="Content-Security-Policy" content="script-src <cdn-domain> 'self';">



Please suggest what can be done.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard