This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch new-site-dev
in repository https://gitbox.apache.org/repos/asf/pinot-site.git
The following commit(s) were added to refs/heads/new-site-dev by this push:
new ae47a214 Add frame-src header using meta tag (#105)
ae47a214 is described below
commit ae47a21476edbe63e08fabf5c9e64ff684c0aa1b
Author: Gio <[email protected]>
AuthorDate: Mon Apr 8 17:45:48 2024 +0200
Add frame-src header using meta tag (#105)
---
app/layout.tsx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app/layout.tsx b/app/layout.tsx
index 893b964b..bd181772 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -88,6 +88,10 @@ export default function RootLayout({ children }: { children:
React.ReactNode })
href="/static/favicons/safari-pinned-tab.svg"
color="#5bbad5"
/>
+ <meta
+ http-equiv="Content-Security-Policy"
+ content="frame-src 'self' https://www.youtube.com;"
+ />
<meta name="msapplication-TileColor" content="#000000" />
<meta name="theme-color" media="(prefers-color-scheme: light)"
content="#fff" />
<meta name="theme-color" media="(prefers-color-scheme: dark)"
content="#000" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]