diff --git a/website/_headers b/website/_headers index e4098aa51c..a38478bf91 100644 --- a/website/_headers +++ b/website/_headers @@ -14,12 +14,15 @@ # Content-Security-Policy # - default-src 'self' blocks everything unless explicitly allowed. # - 'self' covers index.html, styles.css, main.js, assets/. + # - frame-src 'self' is required: index.html embeds the /hyperdim/ viewer as + # same-origin gallery iframes. Without 'self' the browser blocks them + # ("Framing ... violates ... frame-src") and the gallery shows black boxes. # - YouTube frames allowed (optional; remove if you don't embed). # - Inline