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

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


The following commit(s) were added to refs/heads/master by this push:
     new d6768589 Update head.html (#394)
d6768589 is described below

commit d6768589daa509f48ece83a603427750a4af215b
Author: imbajin <j...@apache.org>
AuthorDate: Fri Feb 14 17:29:01 2025 +0800

    Update head.html (#394)
---
 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