You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
browsers will refuse to apply inline styles (rightfully).
The exact error message:
p-ea7bbed1.system.js:1 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src-elem localhost […]". Either the 'unsafe-inline' keyword, a hash ('sha256-NBfyYgxoWTkJ9SyHWLNVIq8UkKGvsaGPAaGmNMpVMSA='), or a nonce ('nonce-...') is required to enable inline execution.
Current Behavior
When you enable at least the following CSP header
browsers will refuse to apply inline styles (rightfully).
The exact error message:
Problematic code (in the last line):
File: https://cdnjs.cloudflare.com/ajax/libs/ionicons/7.1.0/ionicons/p-ea7bbed1.system.js
Expected Behavior
Styles applied normally from JS and not inline.
Steps to Reproduce
Turn on the mentioned CSP headers.
Code Reproduction URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: