Skip to content

Commit

Permalink
fix(PWA): fix manifest config. ref #193
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 26, 2024
1 parent 660faa3 commit 5dbe3b9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion public/manifest.local.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Open Prices (Local)",
"short_name": "OpenPrices (Local)",
"description": "An open crowdsourced database of food prices",
"icons": [
{
"src": "/android-chrome-192x192.png",
Expand All @@ -16,5 +17,6 @@
"theme_color": "#ffffff",
"background_color": "#ffffff",
"start_url": "/",
"display": "standalone"
"display": "standalone",
"orientation": "portrait"
}
6 changes: 4 additions & 2 deletions public/manifest.preprod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Open Prices (Preprod)",
"short_name": "OpenPrices (Preprod)",
"description": "An open crowdsourced database of food prices",
"icons": [
{
"src": "/app/android-chrome-192x192.png",
Expand All @@ -15,7 +16,8 @@
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"scope": "https://prices.openfoodfacts.net/app/",
"scope": "/",
"start_url": "https://prices.openfoodfacts.net/app",
"display": "standalone"
"display": "standalone",
"orientation": "portrait"
}
6 changes: 4 additions & 2 deletions public/manifest.prod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Open Prices",
"short_name": "OpenPrices",
"description": "An open crowdsourced database of food prices",
"icons": [
{
"src": "/app/android-chrome-192x192.png",
Expand All @@ -15,7 +16,8 @@
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"scope": "https://prices.openfoodfacts.com/app/",
"scope": "/",
"start_url": "https://prices.openfoodfacts.com/app",
"display": "standalone"
"display": "standalone",
"orientation": "portrait"
}

0 comments on commit 5dbe3b9

Please sign in to comment.