浏览代码

chore: update manifest CSP

Ahmad Kholid 2 年之前
父节点
当前提交
35a77e6eba
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/manifest.chrome.json

+ 2 - 1
src/manifest.chrome.json

@@ -72,5 +72,6 @@
   ],
   "sandbox": {
     "pages": ["/sandbox.html"]
-  }
+  },
+  "content_security_policy": "script-src 'self' 'unsafe-inline' 'unsafe-eval' https:; object-src 'self'"
 }