-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
35 lines (35 loc) · 953 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
31
32
33
34
35
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tour</title>
<link rel="stylesheet" href="../static/css/bootstrap.min.css" >
<link rel="stylesheet" href="../static/css/ionicons.min.css" >
<link rel="stylesheet" href="../static/css/general.css" >
<link rel="stylesheet" href="../static/css/modal.css" >
</head>
<body>
<div id="root"></div>
<script>
{
const scripts = [];
const isDev = require('electron-is-dev');
if (isDev) {
scripts.push(
'http://localhost:3000/tour.dev.js'
);
} else {
scripts.push(
'../prod/tour.prod.js'
);
}
document.write(
scripts
.map(script => '<script defer src="' + script + '"><\/script>')
.join('')
);
}
</script>
</body>
</html>