forked from apache/seatunnel-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.htaccess
More file actions
15 lines (14 loc) · 1.2 KB
/
Copy path.htaccess
File metadata and controls
15 lines (14 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ErrorDocument 404 /404.html
<IfModule mod_headers.c>
# Google Translate issues a follow-up JSONP request to translate-pa.googleapis.com
# after a user chooses a non-native language from the navbar dropdown.
Header set Content-Security-Policy "default-src 'self' data: blob: *.apache.org *.kapa.ai *.githubusercontent.com *.googleapis.com *.google.com *.run.app *.gstatic.com *.github.com https://hcaptcha.com https://*.hcaptcha.com *.apachecon.com *.communityovercode.org 'unsafe-inline' 'unsafe-eval'; \
script-src 'self' 'unsafe-inline' 'unsafe-eval' widget.kapa.ai www.google.com translate.google.com translate.googleapis.com translate-pa.googleapis.com https://hcaptcha.com https://*.hcaptcha.com https://www.gstatic.com; \
connect-src 'self' proxy.kapa.ai kapa-widget-proxy-la7dkmplpq-uc.a.run.app metrics.kapa.ai *.algolia.net *.algolianet.com https://hcaptcha.com https://*.hcaptcha.com www.google.com translate.googleapis.com translate-pa.googleapis.com; \
frame-src 'self' * www.google.com https://hcaptcha.com https://*.hcaptcha.com; \
frame-ancestors 'self' *.google.com; \
worker-src 'self' data: blob:; \
img-src 'self' blob: data: https:; \
font-src 'self' data: blob:; \
object-src 'none'"
</IfModule>