Commit 7c6b04da authored by Medicean's avatar Medicean

(Security:MainWindow) 主窗口增加 CSP 策略

parent 2269a4af
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title>AntSword</title> <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:*">
<link rel="stylesheet" href="ant-static://css/index.css"/> <link rel="stylesheet" href="ant-static://css/index.css"/>
<script src="ant-src://load.entry.js"></script> <script src="ant-src://load.entry.js"></script>
</head> </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