Disable iframing of the main domain using meta tags as well

This commit is contained in:
Nariman Jelveh 2024-04-22 14:14:20 -07:00
parent ef35a04c4a
commit 3cba4cab1e

View File

@ -75,6 +75,9 @@ const generate_puter_page_html = ({
<meta property="og:description" content="${e((short_description).replace(/\n/g, " "))}"> <meta property="og:description" content="${e((short_description).replace(/\n/g, " "))}">
<meta property="og:image" content="${asset_dir}/images/screenshot.png"> <meta property="og:image" content="${asset_dir}/images/screenshot.png">
<!-- disable iframes -->
<meta http-equiv="X-Frame-Options" content="sameorigin">
<!-- Twitter meta tags --> <!-- Twitter meta tags -->
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="puter.com"> <meta property="twitter:domain" content="puter.com">