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 2026/01/09 19:07:51 UTC
(pinot-site) branch new-static-prod updated: Update CSP to allow youtube nocookie and github api access for github stars
This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch new-static-prod
in repository https://gitbox.apache.org/repos/asf/pinot-site.git
The following commit(s) were added to refs/heads/new-static-prod by this push:
new 967aaca3 Update CSP to allow youtube nocookie and github api access for github stars
967aaca3 is described below
commit 967aaca3f2e1c972f44bbe1a5d3a872c16ad72f5
Author: Xiang Fu <xi...@startree.ai>
AuthorDate: Fri Jan 9 11:07:38 2026 -0800
Update CSP to allow youtube nocookie and github api access for github stars
---
.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.htaccess b/.htaccess
index de377bfe..12a30269 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1,4 @@
ErrorDocument 404 /404.html
+
+# CSP update: allow YouTube no-cookie embeds and GitHub API fetches
+SetEnv CSP_PROJECT_DOMAINS "www.youtube-nocookie.com youtube-nocookie.com api.github.com"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org