Commit e5230965 authored by Medicean's avatar Medicean

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

parent ed01dead
# 更新日志
> 有空会补补BUG、添添新功能。
> 同时也欢迎大家的参与!感谢各位朋友的支持! .TAT.
## `v(2.0.7.3)
* 主窗口增加 CSP 策略
## `v(2.0.7.2)`
* Fix #150 文件路径输入框未过滤问题
......
......@@ -3,6 +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:;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