Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error in the tooltips and legends as I introduced CSP the UI is affected mentioned places #613

Open
Muthukumar21 opened this issue Jun 24, 2024 · 0 comments

Comments

@Muthukumar21
Copy link

Muthukumar21 commented Jun 24, 2024

USED CSP in the project

ERROR:

apexcharts.common.js:6 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com https://fonts.gstatic.com 'nonce-1719228660961' 'sha256-SSGCrClQA5HDwURccGOBm8CCOfMt1gmANv5KkeZERXs=' 'sha256-r6YXf0FH0c0za5mvk1odENR+z4qTbdvjkTiTyOeKU30=' 'sha256-/WJG7UrVSV65TiIb5MysiEPGgEuQs5zXABABEWaxDfM=' 'sha256-/WJG7UrVSV65TiIb5MysiEPGgEuQs5zXABABEWaxDfM=' 'sha256-LA4KTjHIvt/e0fK4wBIK0x4Rx0vUv3/rVZ6n+vpT+GM=' 'sha256-d8+FRLATLC2M5M7tg4DHE7TNYGW0kr6ijwsDc7+G6DI='". Either the 'unsafe-inline' keyword, a hash ('sha256-0LPZoaUlRg6skhVDAsOXJDYd0QywFnns8TclTlStHUs='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

current output
image

expected output
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant