diff options
Diffstat (limited to 'dist/wipfel/index.html')
| -rw-r--r-- | dist/wipfel/index.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/wipfel/index.html b/dist/wipfel/index.html index 98f81e8..69dd433 100644 --- a/dist/wipfel/index.html +++ b/dist/wipfel/index.html @@ -3,7 +3,11 @@ <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> + <meta name="theme-color" content="#141418" /> <title>wipfel — web based gipfel photogrammetry</title> + <link rel="manifest" href="manifest.webmanifest" /> + <link rel="icon" type="image/png" sizes="192x192" href="icons/icon-192.png" /> + <link rel="apple-touch-icon" href="icons/icon-192.png" /> <link rel="stylesheet" href="style.css" /> </head> <body> @@ -11,5 +15,12 @@ import init from './wipfel.js'; init(); </script> + <script> + if ('serviceWorker' in navigator) { + window.addEventListener('load', () => { + navigator.serviceWorker.register('./sw.js'); + }); + } + </script> </body> </html> |
