Skip to content

Commit f53370a

Browse files
authored
Update template.html
安全方面考虑,将远程脚本强制为HTTPS方式fetch
1 parent fe4d86f commit f53370a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
66
<script type="text/javascript"
7-
src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=R7e25Rjwc7IPwpOhGwbBku4X0fRppYtD"></script>
7+
src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=R7e25Rjwc7IPwpOhGwbBku4X0fRppYtD"></script>
88
<script type="text/javascript" src="../js/qrcode.js"></script>
9-
<script type="text/javascript" src="//bj.bcebos.com/v1/mapopen/github/BMapGLLib/Lushu/src/Lushu.min.js"></script>
9+
<script type="text/javascript" src="https://bj.bcebos.com/v1/mapopen/github/BMapGLLib/Lushu/src/Lushu.min.js"></script>
1010
<link rel="stylesheet" href="../css/tracemap.css" media="all" onload="this.media='all'">
1111
<title>NextTrace traceMap</title>
1212
</head>

0 commit comments

Comments
 (0)