forked from LDFLK/openginxplore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (44 loc) · 1.72 KB
/
Copy pathindex.html
File metadata and controls
53 lines (44 loc) · 1.72 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="/config.js"></script>
<!-- Google Analytics -->
<script>
(function () {
// Skip if running on localhost
const hostname = location.hostname;
if (hostname == 'localhost' || hostname === '127.0.0.1') {
console.log('[Dev] Google Analytics not loaded - running on ' + hostname);
return;
}
// Skip if measurement ID is not configured
const measurementId = window.configs && window.configs.gaMeasurementId;
if (!measurementId || measurementId == "") {
console.log('[Dev] Google Analytics not loaded - no measurement ID configured');
return;
}
const script = document.createElement('script');
script.async = true;
script.src = 'https://www.googletagmanager.com/gtag/js?id=' + measurementId;
document.head.appendChild(script);
window.dataLayer = window.dataLayer || [];
window.gtag = function () { dataLayer.push(arguments); };
window.gtag('js', new Date());
window.gtag('config', measurementId, { send_page_view: false });
})();
</script>
<!-- favicon -->
<link rel="icon" type="image/png" href="/openginexplore.ico" />
<title>OpenginXplore</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>