This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 5f0300cc711c chore: add .htaccess with CSP update to allow Kapa.ai
widget (#13898)
5f0300cc711c is described below
commit 5f0300cc711c41d2d99b650f669b54132f2deb24
Author: Ranga Reddy <[email protected]>
AuthorDate: Fri Sep 19 22:15:59 2025 +0530
chore: add .htaccess with CSP update to allow Kapa.ai widget (#13898)
---
.htaccess | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 000000000000..ca81c59471f6
--- /dev/null
+++ b/.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.
+
+# https://infra.apache.org/tools/csp.html and
https://issues.apache.org/jira/browse/INFRA-27242
+SetEnv CSP_PROJECT_DOMAINS "https://*.kapa.ai/ https://widget.kapa.ai/
proxy.kapa.ai kapa-widget-proxy-la7.kapa.ai
kapa-widget-proxy-la7dkmplpq-uc.a.run.app metrics.kapa.ai"