-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
PlausibleProvider not passing nonce to preload link and init script #110
Comments
This may be related: #90. |
While they appear to be related, there is a distinction: the preloaded link in the header is being blocked by CSP. |
Published as |
I will look into it. |
Hey there,
After adding CSP to a Nextjs app, the plausible preload link is being blocked. This is because the link in the header doesn't have the nonce populated to it.
Although the nonce is being passed to the
scriptProps
prop, the script loaded with the ID ofnext-plausible-init
is not capturing the nonce.The text was updated successfully, but these errors were encountered: