Last active
January 28, 2025 13:46
-
-
Save sitefinitySDK/25329c44d04ebddaa42df4410c7718c1 to your computer and use it in GitHub Desktop.
SF_15.1, SF_15.2 - https://www.progress.com/documentation/sitefinity-cms/next.js-content-security-policy-(csp)-http-response-header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cspHeader = ` | |
script-src https://cdn.insight.sitefinity.com https://dec.azureedge.net https://player.vimeo.com/api/player.js https://www.youtube.com/iframe_api *.googleapis.com 'unsafe-eval' 'unsafe-inline' 'self'; | |
style-src https://cdn.insight.sitefinity.com https://dec.azureedge.net *.googleapis.com 'self' 'unsafe-inline'; | |
img-src https://cdn.insight.sitefinity.com https://dec.azureedge.net https://*.frontify.com https://*.cloudinary.com 'self' data: blob:; | |
connect-src https://*.insight.sitefinity.com https://*.dec.sitefinity.com 'self'; | |
font-src fonts.gstatic.com 'self' data:; | |
default-src 'self'`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment