You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ge...@apache.org on 2025/05/20 22:25:18 UTC

(spark-website) branch setEnv updated: fix

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

gengliang pushed a commit to branch setEnv
in repository https://gitbox.apache.org/repos/asf/spark-website.git


The following commit(s) were added to refs/heads/setEnv by this push:
     new d0be57ab8b fix
d0be57ab8b is described below

commit d0be57ab8b10809fc7a0ea62c492e00fba8cfc9d
Author: Gengliang Wang <ge...@apache.org>
AuthorDate: Tue May 20 15:25:09 2025 -0700

    fix
---
 site/.htaccess | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/site/.htaccess b/site/.htaccess
index 188ce4c01b..b030b5d59a 100644
--- a/site/.htaccess
+++ b/site/.htaccess
@@ -1,4 +1,2 @@
 ErrorDocument 404 /404.html
-<IfModule mod_headers.c>
-  Header set Content-Security-Policy "default-src 'self'; connect-src 'self' https://*.algolia.net https://*.algolianet.com https://*.algolia.io; script-src 'self' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com;"
-</IfModule>
+SetEnv CSP_PROJECT_DOMAINS "https://*.algolia.net/ https://*.algolianet.com/ https://*.algolia.io/ https://cdnjs.cloudflare.com/ https://fonts.googleapis.com/ https://fonts.gstatic.com/"


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