Browse Source

feat: 安全策略

zhangjie 6 tháng trước cách đây
mục cha
commit
d66cb66a78
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>