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
{{ message }}
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
According to MDN the use of this header is deprecated: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
Apparently it's supposed to be replaced by the
frame-ancestorsCSP: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestorsI'm no expert, but it seems like to implement what was
X-Frame-Options DENYis now this in CSP:Header always set Content-Security-Policy "frame-ancestors 'none';"add_header Content-Security-Policy "frame-ancestors 'none';";"Content-Security-Policy" => "frame-ancestors 'self' https://myhomeassistant.mydomain.tld;"Disclaimer: All of this is untested