Przeglądaj źródła

feat: 安全策略

zhangjie 6 miesięcy temu
rodzic
commit
308fe12ab5
1 zmienionych plików z 1 dodań i 1 usunięć
  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';  frame-src 'self' 'blob';" />
   <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
   <title>知学知考</title>
 </head>