This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 55252fe1fa1 Add Content-Security-Policy config for site search 
(Algolia)
55252fe1fa1 is described below

commit 55252fe1fa105c509a4c4280a70a83bf8154451f
Author: Lari Hotari <[email protected]>
AuthorDate: Wed May 21 01:02:24 2025 +0300

    Add Content-Security-Policy config for site search (Algolia)
---
 static/.htaccess | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/static/.htaccess b/static/.htaccess
index d862cf73828..72106078f97 100755
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -1,3 +1,5 @@
+SetEnv CSP_PROJECT_DOMAINS "https://*.algolia.net/ https://*.algolianet.com/ 
https://*.algolia.io/";
+
 RewriteEngine On
 
 RewriteRule "^en/(.+)$" "/$1" [R=301,DPI,L]

Reply via email to