-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
Incompatibility with strict CSPs #449
Comments
Worth mentioning if someone else stumbles across this; I'm currently (manually) creating hashes of the computed inline styles and using
Which can be used with the
|
+1 |
2 similar comments
+1 |
+1 |
+1 |
1 similar comment
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature / bug 📝:
Sonner does not work with strict CSPs as there's inline styles.
Steps to reproduce the bug 🔁:
style-src
directive set to anything other thanunsafe-inline
.I'm looking into some fixes, but in essence all styles have to be defined in stylesheets for other CSPs to work. If it's impractical to apply a fix, there's always the fork and modify path but having support baked in would be nice.
The text was updated successfully, but these errors were encountered: