Skip to content

Commit

Permalink
Update files/en-us/web/http/csp/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Hamish Willee <[email protected]>
  • Loading branch information
wbamberg and hamishwillee authored Oct 17, 2024
1 parent e1e0407 commit a79321c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/http/csp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ The syntax of `frame-ancestors` is a subset of the fetch directive syntax: you c
Unless you need your site to be embeddable, you should set `frame-ancestors` to `'none'`:

```plain
frame-ancestors 'none'
Content-Security-Policy: frame-ancestors 'none'
```

This directive is a more flexible replacement for the {{httpheader("X-Frame-Options")}} header.
Expand Down

0 comments on commit a79321c

Please sign in to comment.