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

weichiu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 40c5bfcd4 HDDS-14612. Update CSP header for Ozone website to enable 
Algolia search (#331)
40c5bfcd4 is described below

commit 40c5bfcd4ff25b4c7faa3a5f2d0b022a3eb4354d
Author: Siyao Meng <[email protected]>
AuthorDate: Tue Feb 10 21:55:28 2026 -0800

    HDDS-14612. Update CSP header for Ozone website to enable Algolia search 
(#331)
    
    Co-authored-by: Copilot <[email protected]>
---
 static/.htaccess | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/static/.htaccess b/static/.htaccess
new file mode 100644
index 000000000..2a1166435
--- /dev/null
+++ b/static/.htaccess
@@ -0,0 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# CSP permissions for ozone.apache.org - Adding 3rd party service Algolia. 
Approved by VP Data Privacy.
+SetEnv CSP_PROJECT_DOMAINS "https://*.algolia.net/ https://*.algolianet.com/ 
https://*.algolia.io/";


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to