Skip to content

Commit 1d132a1

Browse files
authored
fix(docs): CSP mods to re-enable Algolia search (#642)
1 parent 95ea2ca commit 1d132a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/.vuepress/public/.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ RewriteCond %{REQUEST_FILENAME} !-d
55
RewriteRule . /404.html [L]
66

77
ErrorDocument 404 /404.html
8+
9+
Header set Content-Security-Policy "default-src data: blob: 'self' *.apache.org *.githubusercontent.com *.github.com *.algolia.net *.algolianet.com *.timecho.com *.apachecon.com *.communityovercode.org 'unsafe-inline' 'unsafe-eval'; frame-src 'self' data: blob:; frame-ancestors 'self'; worker-src 'self' data: blob:; img-src 'self' blob: data: https: *.apache.org www.apachecon.com; style-src 'self' 'unsafe-inline' data:;"

0 commit comments

Comments
 (0)