Commit 5d15281b authored by Medicean's avatar Medicean

(Security:View) index.html CSP 策略添加 child-src

parent 21e05433
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>AntSword</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'none';img-src data: ant-static: http: https:;script-src ant-static: ant-src: 'unsafe-eval' 'unsafe-inline';style-src ant-static: 'unsafe-inline';font-src ant-static:;worker-src blob:;frame-src data:;connect-src http://127.0.0.1:*">
<meta http-equiv="Content-Security-Policy" content="default-src 'none';img-src data: ant-static: http: https:;script-src ant-static: ant-src: 'unsafe-eval' 'unsafe-inline';style-src ant-static: 'unsafe-inline';font-src ant-static:;worker-src blob:;child-src blob:;frame-src data:;connect-src http://127.0.0.1:*">
<link rel="stylesheet" href="ant-static://css/index.css"/>
<script src="ant-src://load.entry.js"></script>
</head>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment