Ver Fonte

feat: 安全策略

zhangjie há 6 meses atrás
pai
commit
d66cb66a78
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      public/index.html

+ 1 - 1
public/index.html

@@ -8,7 +8,7 @@
   <meta name="renderer" content="webkit|ie-comp|ie-stand" />
   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
   <meta http-equiv="Content-Security-Policy"
-    content="script-src 'self' 'unsafe-inline' 'unsafe-eval' ;" />
+    content="script-src 'self' 'unsafe-inline' 'unsafe-eval' 'blob';" />
   <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
   <title>知学知考</title>
 </head>