1<!DOCTYPE html>
2<html lang="en">
3  <head>
4    <meta charset="utf-8" />
5    <title>%WEB_TITLE%</title>
6    <!--
7      manifest.json provides metadata used when your web app is added to the
8      homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
9    -->
10    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
11    <!-- iOS icons -->
12    <link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/apple-touch-icon.png" />
13    <link rel="apple-touch-startup-image" href="%PUBLIC_URL%/apple-touch-icon.png" />
14    <link rel="mask-icon" href="" color="" />
15
16    <style>
17      html,
18      body,
19      #main {
20        height: 100%;
21      }
22      #main {
23        display: flex;
24        flex-direction: column;
25      }
26    </style>
27  </head>
28
29  <body>
30    <noscript>You need to enable JavaScript to run this app.</noscript>
31    <div id="main"></div>
32
33    <script>
34      if ('serviceWorker' in navigator)
35        window.addEventListener('load', function() {
36          navigator.serviceWorker.register('/service-worker.js');
37        });
38    </script>
39  </body>
40</html>
41