You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2024/04/09 06:58:53 UTC

(pinot-site) branch new-site-dev updated: Fix meta tag frame-src for youtube (#106)

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 4a9d3aa9 Fix meta tag frame-src for youtube (#106)
4a9d3aa9 is described below

commit 4a9d3aa983dcb40ce9c82b205fc4646c5a00044f
Author: Gio <15...@users.noreply.github.com>
AuthorDate: Tue Apr 9 08:58:48 2024 +0200

    Fix meta tag frame-src for youtube (#106)
    
    * Add frame-src header using meta tag
    
    * Fix meta tag frame-src for youtube
---
 app/layout.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/layout.tsx b/app/layout.tsx
index bd181772..962021f1 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -90,7 +90,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
                 />
                 <meta
                     http-equiv="Content-Security-Policy"
-                    content="frame-src 'self' https://www.youtube.com;"
+                    content="frame-src youtube.com www.youtube.com;"
                 />
                 <meta name="msapplication-TileColor" content="#000000" />
                 <meta name="theme-color" media="(prefers-color-scheme: light)" content="#fff" />


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org