Skip to content

Commit

Permalink
fix: kill the landing page (remove remaining /app) (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Oct 1, 2024
1 parent 011d5a1 commit fa8e162
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .env.preprod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VITE_OPEN_PRICES_APP_URL = "https://prices.openfoodfacts.net"
VITE_OPEN_PRICES_API_URL = "https://prices.openfoodfacts.net/api/v1"
VITE_MANIFEST_PATH = "/app/manifest.preprod.json"
VITE_MANIFEST_PATH = "/manifest.preprod.json"
VITE_DEFAULT_LOCALE = en
VITE_FALLBACK_LOCALE = en
VITE_DEFAULT_COUNTRY = FR
Expand Down
2 changes: 1 addition & 1 deletion .env.prod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VITE_OPEN_PRICES_APP_URL = "https://prices.openfoodfacts.org"
VITE_OPEN_PRICES_API_URL = "https://prices.openfoodfacts.org/api/v1"
VITE_MANIFEST_PATH = "/app/manifest.prod.json"
VITE_MANIFEST_PATH = "/manifest.prod.json"
VITE_DEFAULT_LOCALE = en
VITE_FALLBACK_LOCALE = en
VITE_DEFAULT_COUNTRY = FR
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

<link rel="icon" href="/favicon.ico" />
<link rel="manifest" href="%VITE_MANIFEST_PATH%" />
<link rel="apple-touch-icon" sizes="180x180" href="/app/apple-touch-icon.png" />
<link rel="mask-icon" href="/app/safari-pinned-tab.svg" color="#da532c" />
<link rel="apple-touch-icon" sizes="180x180" href="le-touch-icon.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#da532c" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="msapplication-config" content="/app/browserconfig.xml" />
<meta name="msapplication-config" content="/browserconfig.xml" />
<meta name="theme-color" content="#f2e9e4"/>

<title>Open Prices</title>
Expand Down
2 changes: 1 addition & 1 deletion public/browserconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/app/mstile-150x150.png"/>
<square150x150logo src="/mstile-150x150.png" />
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
Expand Down
6 changes: 3 additions & 3 deletions public/manifest.preprod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"description": "An open crowdsourced database of food prices",
"icons": [
{
"src": "/app/android-chrome-192x192.png",
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/app/android-chrome-512x512.png",
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"scope": "/",
"start_url": "https://prices.openfoodfacts.net/app",
"start_url": "https://prices.openfoodfacts.net",
"display": "standalone",
"orientation": "portrait"
}
6 changes: 3 additions & 3 deletions public/manifest.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"description": "An open crowdsourced database of food prices",
"icons": [
{
"src": "/app/android-chrome-192x192.png",
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/app/android-chrome-512x512.png",
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"scope": "/",
"start_url": "https://prices.openfoodfacts.org/app",
"start_url": "https://prices.openfoodfacts.org",
"display": "standalone",
"orientation": "portrait"
}

0 comments on commit fa8e162

Please sign in to comment.