Add start_url to web manifest (#35015)

GitOrigin-RevId: 81c723df6e6134d9bce32fd3a0dd632769a595e1
This commit is contained in:
Alf Eaton
2026-09-17 11:45:13 +00:00
committed by Copybot
parent 2010622ae3
commit 6b349ee3be
5 changed files with 24 additions and 10 deletions
+1 -2
View File
@@ -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
)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 260.32 260.32">
<defs>
<style>
.cls-1 {
fill: #04652f;
stroke-width: 0px;
}
.cls-2 {
fill: #ffffff;
}
</style>
</defs>
<rect class="cls-2" width="260.32" height="260.32"/>
<g transform="translate(48.04, 35)">
<path class="cls-1" d="M122.95-.03h-1.41c.24,0,.47,0,.71,0s.47,0,.71,0M.07,127.08c-.05-1.04-.07-2.09-.07-3.14,0-1.12.02-2.24.07-3.35v6.5M66.42,190.35h0c-1.05,0-2.1-.02-3.13-.07h6.27c-1.04.05-2.08.07-3.13.07"/>
<path class="cls-1" d="M164.24,5.92s0,0-.01,0c0,0,0,0,.01,0h0M69.56,190.28h-6.27C29.1,188.69,1.67,161.27.07,127.08v-6.5c1.27-29.07,18.93-56.03,45.12-72.79C45.3,10.89,86.39.11,121.53-.03h1.41c17.23.07,32.87,2.67,41.28,5.95-20.96,16.89-30.67,50.89-63.63,50.89-7.2,0-15.51-1.62-25.28-5.4,18.71-14.04,45.43-26.93,60.25-34.78C90.14,27.9,29.03,57.21,20.64,108.74c-2.43,14.7.61,29.74,12.39,43.61,8.02,9.38,19.92,15.33,33.28,15.33,24.17,0,43.85-19.58,43.85-43.76,0-21.76-15.91-39.81-36.69-43.17-2.13-.34-4.3-.51-6.49-.51-12.32,0-25.13,5.42-33.79,15.82,6.86-15.5,21.38-31.06,33.28-38.63.79-.07,1.59-.1,2.41-.1,7.85,0,16.83,2.85,21.19,4.53,24.99,9.5,42.76,33.72,42.76,62.08,0,35.62-28.06,64.7-63.29,66.34"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+4 -8
View File
@@ -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"
}