-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (47 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<script>
let publicPath = '/';
if (process.env.NODE_ENV === 'development') {
const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
const host = process.env.HOST || '0.0.0.0';
const port = parseInt(process.env.PORT, 10) || 3000;
publicPath = protocol + '://' + host + ':' + port + '/';
}
</script>
<title>SIM 88</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<script>
// manifest.json provides metadata used when your web app is added to the
// homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
let link = document.createElement('link');
link.rel = 'manifest';
link.href = publicPath + 'manifest.json';
document.getElementsByTagName('head')[0].appendChild(link);
link = document.createElement('link');
link.rel = 'shortcut icon';
link.href = publicPath + 'favicon.ico';
document.getElementsByTagName('head')[0].appendChild(link);
if (process.env.NODE_ENV === 'development') {
document.write('<script src="' + publicPath + 'static/js/bundle.js"><\/script>');
}
</script>
<!--
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`.
-->
</body>
</html>