mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
Disable iframing of the main domain using meta tags as well
This commit is contained in:
parent
ef35a04c4a
commit
3cba4cab1e
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user