fix: PWA web manifest not changed to new routes (#17921)

th-downstream
Holger 3 years ago committed by GitHub
parent 812b2048f6
commit 09c02b1f49

@ -44,7 +44,7 @@ class ManifestSerializer < ActiveModel::Serializer
end end
def start_url def start_url
'/web/timelines/home' '/web/home'
end end
def scope def scope
@ -69,7 +69,7 @@ class ManifestSerializer < ActiveModel::Serializer
[ [
{ {
name: 'New toot', name: 'New toot',
url: '/web/statuses/new', url: '/web/publish',
icons: [ icons: [
{ {
src: '/shortcuts/new-status.png', src: '/shortcuts/new-status.png',
@ -91,7 +91,7 @@ class ManifestSerializer < ActiveModel::Serializer
}, },
{ {
name: 'Direct messages', name: 'Direct messages',
url: '/web/timelines/direct', url: '/web/conversations',
icons: [ icons: [
{ {
src: '/shortcuts/direct.png', src: '/shortcuts/direct.png',

Loading…
Cancel
Save