Skip to content

Commit

Permalink
fix(docs-infra): prevent framing of AIO with X-Frame-Options (#45419)
Browse files Browse the repository at this point in the history
Prevent the docs site from being place in an iframe.

PR Close #45419
  • Loading branch information
josephperrott committed Mar 23, 2022
1 parent ee20410 commit 1734d1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aio/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@
// csp.withgoogle.com is Google's CSP report collecting
// infrastructure.
"value": "require-trusted-types-for 'script'; trusted-types angular angular#bundler angular#unsafe-bypass aio#analytics google#safe; report-uri https://csp.withgoogle.com/csp/angular.io"
},
{
"key": "X-Frame-Options",
"value": "DENY"
}
]
},
Expand Down

0 comments on commit 1734d1e

Please sign in to comment.