This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
/
index.html
121 lines (117 loc) · 4.32 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Galacean is a web-first and mobile-first high-performance real-time development platform. See for more information."
/>
<link rel="apple-touch-icon" href="/logo192.png" />
<link
rel="icon"
href="https://mdn.alipayobjects.com/huamei_2uqjce/afts/img/A*JpBsR4eFFfkAAAAAAAAAAAAADsF_AQ/original"
type="image/x-icon"
/>
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />
<!--
Notice the use of in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Galacean - Mobile first high performance web interactive engine</title>
<script>
(function() {
var pathname = window.location.pathname;
var hash = window.location.hash;
// 检查是否为旧的哈希路由格式
if (pathname === '/' && hash.startsWith('#/')) {
const newPath = `/archive-engine/${hash.slice(2)}`;
window.location.replace(newPath);
}
})();
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script type="module" src="/src/index.tsx"></script>
<script>
!(function (t, e, a, r, c) {
(t.TracertCmdCache = t.TracertCmdCache || []),
(t[c] = window[c] || {
_isRenderInit: !0,
call: function () {
t.TracertCmdCache.push(arguments);
},
start: function (t) {
this.call('start', t);
},
}),
(t[c].l = new Date());
var n = e.createElement(a),
s = e.getElementsByTagName(a)[0];
(n.async = !0), (n.src = r), s.parentNode.insertBefore(n, s);
n.onerror = function () {
console.warn(
decodeURI(
'Tracert%20%E8%84%9A%E6%9C%AC%E6%9C%AA%E6%88%90%E5%8A%9F%E5%8A%A0%E8%BD%BD,%20%E8%AF%B7%E6%A3%80%E6%9F%A5%E7%BD%91%E7%BB%9C%E4%BB%A5%E5%8F%8A%20A%20%E4%BD%8D%E6%98%AF%E5%90%A6%E5%9C%A8%E4%B9%9D%E8%89%B2%E9%B9%BF%E5%BB%BA%E7%AB%8B%E6%B4%9E%E5%AF%9F'
)
);
var fallback = function () {
console.warn(
decodeURI(
'Tracert%20%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E5%A4%B1%E8%B4%A5%EF%BC%8C%E8%AF%B7%E6%A3%80%E6%9F%A5%20JS%20%E6%98%AF%E5%90%A6%E6%AD%A3%E7%A1%AE%E5%BC%95%E5%85%A5'
)
);
};
for (
var fnlist = [
'call',
'start',
'config',
'logPv',
'info',
'err',
'click',
'expo',
'pageName',
'pageState',
'time',
'timeEnd',
'parse',
'checkExpo',
'stringify',
'report',
'set',
'before',
],
i = 0;
i < fnlist.length;
i++
) {
t[c][fnlist[i]] = fallback;
}
};
})(window, document, 'script', 'https://ur.alipay.com/tracert_a1638.js', 'Tracert');
Tracert.start({});
</script>
</body>
</html>