aboutsummaryrefslogtreecommitdiff
path: root/modern/public
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-04 17:03:33 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-04 17:03:33 -0700
commit61b6d0abd721283f757d431b82f9db8d24945b2f (patch)
tree0ddcb38892c30c21ab526227450ea9c404e0b4fa /modern/public
parent73cd7a510a88abb63b2393b1dfdbfe56865378af (diff)
downloadtrackermap-web-61b6d0abd721283f757d431b82f9db8d24945b2f.tar.gz
trackermap-web-61b6d0abd721283f757d431b82f9db8d24945b2f.tar.bz2
trackermap-web-61b6d0abd721283f757d431b82f9db8d24945b2f.zip
Add back service worker
Diffstat (limited to 'modern/public')
-rw-r--r--modern/public/index.html1
-rw-r--r--modern/public/manifest.json6
2 files changed, 5 insertions, 2 deletions
diff --git a/modern/public/index.html b/modern/public/index.html
index 864263cb..7285fbdf 100644
--- a/modern/public/index.html
+++ b/modern/public/index.html
@@ -8,6 +8,7 @@
<meta name="description" content="Traccar GPS tracking system" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
+ <link rel="stylesheet" href="%PUBLIC_URL%/styles.css">
<title>Traccar</title>
</head>
<body>
diff --git a/modern/public/manifest.json b/modern/public/manifest.json
index 59b5056d..555b819b 100644
--- a/modern/public/manifest.json
+++ b/modern/public/manifest.json
@@ -10,12 +10,14 @@
{
"src": "logo192.png",
"type": "image/png",
- "sizes": "192x192"
+ "sizes": "192x192",
+ "purpose": "any maskable"
},
{
"src": "logo512.png",
"type": "image/png",
- "sizes": "512x512"
+ "sizes": "512x512",
+ "purpose": "any maskable"
}
],
"start_url": ".",