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
Commit 9ea82c5 change Utterances script load logic to support changing between light and dark modes. However, this uses an inline script. This inline script will not execute unless the site's Content Security Policy allows inline-script, which is generally not considered a good idea.
Steps to reproduce:
Configure utterances
Implement a content security policy without inline-script access
One possible workaround might be to load this as an external script, using whatever Hugo uses for generating the integrity values on script elements.
The text was updated successfully, but these errors were encountered:
Describe the problem:
Commit 9ea82c5 change Utterances script load logic to support changing between light and dark modes. However, this uses an inline script. This inline script will not execute unless the site's Content Security Policy allows
inline-script
, which is generally not considered a good idea.Steps to reproduce:
inline-script
accessOne possible workaround might be to load this as an external script, using whatever Hugo uses for generating the integrity values on script elements.
The text was updated successfully, but these errors were encountered: