diff options
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -4,8 +4,10 @@ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="Berechnet die Preise für Pizza im Verhältnis zum Flächeninhalt. Lieber zwei kleine oder eine große Pizza kaufen?"> <link rel='stylesheet' type='text/css' href="/css/bootstrap.min.css"> - <link rel='icon' href="https://iamfabulous.de/favicon.ico"> + <link rel='icon' href="/img/paw-144.png"> + <link rel="manifest" href="/manifest.json"> <title>Wie teuer ist eine Pizza im Verhältnis zum Flächeninhalt?</title> + <meta name="theme-color" content="#fd8a02"> <style> html { width: 100%; @@ -350,6 +352,13 @@ clicked(true); }); }); + if ('serviceWorker' in navigator){ + navigator.serviceWorker.register('serviceworker.js').then(function(registration){ + console.log('ServiceWorker registration successful with scope: ', registration.scope); + }).catch(function(err){ + console.log('ServiceWorker registration failed: ', err); + }); + } </script> </body> </html> |
