-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
36 lines (33 loc) · 1.31 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Copy Trading</title>
<meta name="description" content="Copy trading application for Deriv" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Copy Trading" />
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="icon" href="favicon.ico" sizes="48x48">
<link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#FF444F">
<script type="module" src="/src/utils/pwa-handler.js"></script>
<script>
// Redirect to hash router if accessing root without hash and no query params
(function () {
if (!window.location.hash &&
window.location.pathname === '/copy-trading/' &&
!window.location.search) { // Only redirect if no query parameters
window.location.replace(window.location.origin + '/copy-trading/#/');
}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="src/main.jsx"></script>
</body>
</html>