Merge pull request #697 from basecamp/flavorjones/fix-pwa

Fix the PWA manifest to use slugged URLs
This commit is contained in:
Mike Dalessio
2025-07-03 10:05:46 -04:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
<%= tenanted_action_cable_meta_tag %>
<%= yield :head %>
<link rel="manifest" href="/manifest.json">
<link rel="manifest" href="<%= pwa_manifest_path(format: :json) %>">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
+3 -3
View File
@@ -18,7 +18,7 @@
"purpose": "maskable"
}
],
"start_url": "/",
"start_url": "<%= root_url %>",
"display": "standalone",
"scope": "/",
"description": "Card-up the biggest issues in your projects",
@@ -27,13 +27,13 @@
{
"name": "Notifications",
"description": "Catch up on recent notifications",
"url": "/notifications",
"url": "<%= notifications_path %>",
"icons": [{ "src": "<%= image_url("bell.svg") %>", "sizes": "any" }]
},
{
"name": "Latest Activity",
"description": "See whats new",
"url": "/",
"url": "<%= root_url %>",
"icons": [{ "src": "<%= image_url("activity.svg") %>", "sizes": "any" }]
}
],