aboutsummaryrefslogtreecommitdiff
path: root/public/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.html')
-rw-r--r--public/index.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/public/index.html b/public/index.html
index 090b0d5..c921a87 100644
--- a/public/index.html
+++ b/public/index.html
@@ -2,8 +2,12 @@
<html lang="en">
<head>
<meta charset="utf-8" />
- <link rel="icon" type="image/png" sizes="16x16" href="./which-logo-64.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="theme-color" content="#00796b" />
+ <meta name="description" content="Social webapp based on choosing between two options." />
+ <link rel="icon" type="image/png" href="./which-logo-64.png" />
+ <link rel="apple-touch-icon" href="./which-logo-144.png" />
+ <link rel="manifest" href="./manifest.json" />
<title>Which</title>
<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
@@ -40,5 +44,12 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
+ <script>
+ if ('serviceWorker' in navigator) {
+ window.addEventListener('load', () => {
+ navigator.serviceWorker.register('./service-worker.js')
+ })
+ }
+ </script>
</body>
</html>