Commit 391433d3 authored by Medicean's avatar Medicean

(Fix:Front) iframe CSP 添加 127.0.0.1 解决 SuperTerm CSP 问题

parent d1390440
......@@ -5,7 +5,7 @@
<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:;child-src blob:;frame-src data:;connect-src http://127.0.0.1:*">
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: http://127.0.0.1:*;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