Refused to load the script 'https://www.gstatic.com/charts/45.2/loader.js' because it violates the following Content Security Policy directive
Closed this issue · 3 comments
I am getting the issue
Refused to load the script 'https://www.gstatic.com/charts/45.2/loader.js' because it violates the following Content Security Policy directive
from private loadGoogleChartsScript() at google-charts-loader.service.ts even if i change the Security Policy directive to accept script from https://www.gstatic.com/
Have you guys troubleshoot this before?
Any one? Browser won't let get JS file from CDN any more. What that means is that you have to add the file loader.js into your assets
sounds something is not properly configured. I am able to load the script from CDN when i have https://www.gstatic.com/ part of my script-src
directive.
sounds something is not properly configured. I am able to load the script from CDN when i have https://www.gstatic.com/ part of my
script-src
directive.
Yes, i figure out that. Thanks for the help!