-
-
Notifications
You must be signed in to change notification settings - Fork 344
/
index.html
38 lines (38 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="script-src https://www.google-analytics.com 'self' file://* 'unsafe-inline' 'unsafe-eval'">
<title>poi</title>
<link rel="stylesheet" id="bootstrap-css">
<link rel="stylesheet" id="normalize-css">
<link rel="stylesheet" id="blueprint-css">
<link rel="stylesheet" id="blueprint-icon-css">
<link rel="stylesheet" id="fontawesome-css">
<script>
window.isMain = true
require('@babel/register')(require('./babel-register.config'));
require('./views/env');
</script>
</head>
<body>
<div id='poi' class='poi'>
<script>
// Google analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
(() => {
'use strict';
let ElectronCookies = require('@exponent/electron-cookies');
ElectronCookies.enable({ origin: 'https://analytics.poooi.app/' });
ga('create', 'UA-99082354-2', 'auto');
ga('set', 'location', `https://analytics.poooi.app/${window.POI_VERSION}/`);
ga('set', 'checkProtocolTask', null);
})();
require('./views/app');
require('./views/services');
</script>
</body>
</html>