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        height: 100%;
19        display: flex;
20      }
21      body,
22      #main {
23        display: flex;
24        flex: 1;
25        flex-direction: column;
26      }
27    </style>
28  </head>
29
30  <body>
31    <noscript>You need to enable JavaScript to run this app.</noscript>
32    <div id="main"></div>
33
34    <script>
35      if ('serviceWorker' in navigator)
36        window.addEventListener('load', function() {
37          navigator.serviceWorker.register('/service-worker.js');
38        });
39    </script>
40  </body>
41</html>
42