Skip to content

Commit

Permalink
Add manifest.json to use frontend as PWA
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMeis committed May 1, 2023
1 parent 6361d8f commit 9bb2edb
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 0 deletions.
189 changes: 189 additions & 0 deletions public/OwnTracks.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="manifest" crossorigin="use-credentials" href="<%= BASE_URL %>manifest.json">
<title>OwnTracks Frontend</title>
</head>
<body>
Expand Down
20 changes: 20 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "OwnTracks Frontend",
"description": "OwnTracks Frontend",
"icons": [
{
"src": "icon-180x180.png",
"type": "image/png",
"sizes": "180x180"
},
{
"src": "OwnTracks.svg",
"sizes": "any"
}
],
"start_url": ".",
"background_color": "#3f51b5",
"display": "standalone",
"scope": ".",
"theme_color": "#3f51b5"
}

0 comments on commit 9bb2edb

Please sign in to comment.