-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathindex.html
30 lines (29 loc) · 931 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="/favicon.png">
<title>路书</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<script>
setTimeout(() => {
if (!/^http:\/\/(a\.kylebing\.cn|localhost|192\.168\.\d{1,3}\.\d{1,3})/i.test(location.href)) {
let hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?c96a979914d8b82ece265b38178a4ee8";
let s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
}
}, 1000)
</script>
<script type="text/javascript">
window._AMapSecurityConfig = {
serviceHost: 'http://kylebing.cn/_AMapService',
}
</script>
</html>