I am trying to use Chartkick and Blazer in my rails app, I have followed a few tutorials and I cannot get the charts to display.
All I see in the view is Loading...
This is the same for Chartkick and Blazer.
I am getting this error in the chrome javascript console
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https:". Either the 'unsafe-inline' keyword, a hash ('sha256-+5/81+EOJ9YzViagrir4B2/NDOE23fD9YahxuHgGtIM='), or a nonce ('nonce-...') is required to enable inline execution.
我刚刚通过Chartkick添加了CSP的说明 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.