mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-24 18:05:24 +00:00
fix: PWA web manifest not changed to new routes (#17921)
This commit is contained in:
parent
ef196c913c
commit
ea0cfd8e7e
|
@ -44,7 +44,7 @@ class ManifestSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def start_url
|
||||
'/web/timelines/home'
|
||||
'/web/home'
|
||||
end
|
||||
|
||||
def scope
|
||||
|
@ -69,7 +69,7 @@ class ManifestSerializer < ActiveModel::Serializer
|
|||
[
|
||||
{
|
||||
name: 'New toot',
|
||||
url: '/web/statuses/new',
|
||||
url: '/web/publish',
|
||||
icons: [
|
||||
{
|
||||
src: '/shortcuts/new-status.png',
|
||||
|
@ -91,7 +91,7 @@ class ManifestSerializer < ActiveModel::Serializer
|
|||
},
|
||||
{
|
||||
name: 'Direct messages',
|
||||
url: '/web/timelines/direct',
|
||||
url: '/web/conversations',
|
||||
icons: [
|
||||
{
|
||||
src: '/shortcuts/direct.png',
|
||||
|
|
Loading…
Reference in a new issue