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

jin pushed a commit to branch fix-cs2
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git

commit 6a3c5738ec9a96572059f50c550e7a31c5bc3807
Author: imbajin <[email protected]>
AuthorDate: Fri Feb 14 17:27:34 2025 +0800

    Update head.html
---
 themes/docsy/layouts/partials/head.html | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/themes/docsy/layouts/partials/head.html 
b/themes/docsy/layouts/partials/head.html
index 61f42cce..0818f688 100644
--- a/themes/docsy/layouts/partials/head.html
+++ b/themes/docsy/layouts/partials/head.html
@@ -2,10 +2,7 @@
 <meta name="viewport" content="width=device-width, initial-scale=1, 
shrink-to-fit=no">
 <!-- To handle CSP policy -->
 <meta http-equiv="Content-Security-Policy"
-      content="
-      script-src 'self' 'unsafe-inline' 'unsafe-eval' 
https://analytics.apache.org https://code.jquery.com https://cdn.jsdelivr.net 
https://fonts.googleapis.com/;
-      style-src 'self' 'unsafe-inline' https://code.jquery.com 
https://cdn.jsdelivr.net https://fonts.googleapis.com/;
-">
+      content="script-src 'self'; script-src-elem 'self' 
https://code.jquery.com https://cdn.jsdelivr.net https://fonts.googleapis.com;";>
 {{ hugo.Generator }}
 {{ range .AlternativeOutputFormats -}}
 <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | 
safeURL }}">

Reply via email to