This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/causeway-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new dc030f30fb adds .htaccess to override CSP (enable algolia)
dc030f30fb is described below
commit dc030f30fb6dc582b407b2178bb4d51ae3f1f8a2
Author: Dan Haywood <[email protected]>
AuthorDate: Mon Apr 14 17:46:28 2025 +0100
adds .htaccess to override CSP (enable algolia)
---
content/.htaccess | 1 +
1 file changed, 1 insertion(+)
diff --git a/content/.htaccess b/content/.htaccess
new file mode 100644
index 0000000000..34c9123567
--- /dev/null
+++ b/content/.htaccess
@@ -0,0 +1 @@
+Header Set Content-Security-Policy: default-src 'self' data: blob:
'unsafe-inline' https://www.apachecon.com/ https://www.communityovercode.org/
https://analytics.apache.org/; script-src 'self' 'unsafe-inline' 'unsafe-eval'
https://www.apachecon.com/ https://*.apache.org/ https://apache.org/; style-src
'self' 'unsafe-inline' data: https://*.apache.org/ https://apache.org/;
frame-ancestors 'self'; frame-src 'self' data: blob:; img-src 'self' data:
https://*.apache.org/ https://apache.org/ [...]