Skip to content

Commit

Permalink
Merge pull request #1847 from ten-protocol/jennifer/3139-add-beagle-s…
Browse files Browse the repository at this point in the history
…ecurity-to-gateway

Add security headers
  • Loading branch information
Jennievon authored Apr 3, 2024
2 parents a44ef4c + f48782d commit 93141c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/walletextension/frontend/src/components/head-seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const HeadSeo = ({
// @ts-ignore
signature="_vd3udx2g2hfn9zclob5cat43b94q7fyk"
></meta>
{/* SECURITY: to prevent the page from being loaded in an iFrame */}
<meta http-equiv="X-Frame-Options" content="deny"></meta>
{/* to indicate the browser shouldn't interpret the response as something other than the specified content type */}
<meta http-equiv="X-Content-Type-Options" content="nosniff"></meta>
{/* twitter metadata */}
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content={siteMetadata.twitterHandle} />
Expand Down

0 comments on commit 93141c4

Please sign in to comment.