Browse Source

安全策略

zhangjie 2 years ago
parent
commit
424b6201ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      public/index.html

+ 1 - 0
public/index.html

@@ -8,6 +8,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     <meta name="apple-mobile-web-app-capable" content="yes" />
     <meta name="apple-mobile-web-app-status-bar-style" content="black" />
+    <meta http-equiv="Content-Security-Policy" content="script-src 'self'" />
     <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
     <title>知学知考</title>
   </head>