Skip to content

Commit

Permalink
fix(header): prevent clickjack/iframing
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored Jan 13, 2025
1 parent 457f96e commit 13d3de7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ module.exports = {
projectName: "datahub", // Usually your repo name.
staticDirectories: ["static", "genStatic"],
stylesheets: ["https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&display=swap"],
headTags: [
{
tagName: 'meta',
attributes: {
httpEquiv: 'Content-Security-Policy',
content: "frame-ancestors 'none'"
}
},
{
tagName: 'meta',
attributes: {
httpEquiv: 'X-Frame-Options',
content: 'DENY'
}
}
],
scripts: [
{
src: "https://tools.luckyorange.com/core/lo.js?site-id=28ea8a38",
Expand Down

0 comments on commit 13d3de7

Please sign in to comment.