diff --git a/services/web/app/views/_metadata.pug b/services/web/app/views/_metadata.pug index ced95f89fa..d3cb97fda8 100644 --- a/services/web/app/views/_metadata.pug +++ b/services/web/app/views/_metadata.pug @@ -146,9 +146,8 @@ if metadata && metadata.canonicalURL link(rel='canonical' href=metadata.canonicalURL) //- Manifest -//- Does not currently contain a start_url to prevent browser installation prompts link( rel='manifest' - href=buildBaseAssetPath() + 'web.sitemanifest.json' + href='/web.sitemanifest.json' crossorigin=settings.isCodeSpace ? 'use-credentials' : false ) diff --git a/services/web/public/android-chrome-192x192.png b/services/web/public/android-chrome-192x192.png deleted file mode 100644 index 76f3e1d2d6..0000000000 Binary files a/services/web/public/android-chrome-192x192.png and /dev/null differ diff --git a/services/web/public/android-chrome-512x512.png b/services/web/public/android-chrome-512x512.png deleted file mode 100644 index d638603391..0000000000 Binary files a/services/web/public/android-chrome-512x512.png and /dev/null differ diff --git a/services/web/public/overleaf-logo.svg b/services/web/public/overleaf-logo.svg new file mode 100644 index 0000000000..f2072858d5 --- /dev/null +++ b/services/web/public/overleaf-logo.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/services/web/public/web.sitemanifest.json b/services/web/public/web.sitemanifest.json index a698a6bad6..ccd0c9b84a 100644 --- a/services/web/public/web.sitemanifest.json +++ b/services/web/public/web.sitemanifest.json @@ -2,17 +2,13 @@ "name": "Overleaf", "icons": [ { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" + "src": "/overleaf-logo.svg", + "type": "image/svg+xml", + "sizes": "any" } ], "theme_color": "#1b222c", "background_color": "#ffffff", + "start_url": "/", "display": "standalone" }