aboutsummaryrefslogtreecommitdiff
path: root/webAO/index.html
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-09 07:36:18 +0100
committerGitHub <noreply@github.com>2022-03-09 07:36:18 +0100
commit679bc9be8b0459d298ac1ac3f3b7e61278c184d9 (patch)
tree7025ffb3527bf78fd100a1f1bb9bf6aaa7752470 /webAO/index.html
parent91c3769a78e59924a73db6c759844a9026e8da00 (diff)
parent68169fb20e0406a3bf90ff6a56acb7c1b5a7ed5f (diff)
Merge pull request #98 from caleb-mabry/become-a-pwa
Turn Application into a PWA
Diffstat (limited to 'webAO/index.html')
-rw-r--r--webAO/index.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/webAO/index.html b/webAO/index.html
index d3fc05f..c82cacf 100644
--- a/webAO/index.html
+++ b/webAO/index.html
@@ -26,6 +26,7 @@
content="default-src 'self' 'unsafe-inline' 'unsafe-eval' *.aceattorneyonline.com data:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src 'self' ws:;">
<meta name="viewport" content="width=700, initial-scale=1">
+ <meta name="theme-color" content="#2c3d51">
<link href="https://fonts.googleapis.com/css?family=Poiret+One" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Oswald%7CRoboto+Condensed" rel="stylesheet">
@@ -35,6 +36,18 @@
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="icon" href="images/favicon.ico">
<script src="master.b.js"></script>
+ <link rel="manifest" href="manifest.json">
+ <script>
+ if ('serviceWorker' in navigator) {
+ window.addEventListener('load', () => {
+ navigator.serviceWorker.register('../sw.js').then( () => {
+ console.log('Service Worker Registered')
+ })
+ })
+}
+ </script>
+
+
</head>
<body>