Fix PWA manifest using /web
paths (#19421)
This commit is contained in:
parent
a43a823768
commit
c2c14331b2
2 changed files with 6 additions and 15 deletions
|
@ -52,7 +52,7 @@ class ManifestSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def start_url
|
||||
'/web/home'
|
||||
'/home'
|
||||
end
|
||||
|
||||
def scope
|
||||
|
@ -77,11 +77,11 @@ class ManifestSerializer < ActiveModel::Serializer
|
|||
[
|
||||
{
|
||||
name: 'Compose new post',
|
||||
url: '/web/publish',
|
||||
url: '/publish',
|
||||
},
|
||||
{
|
||||
name: 'Notifications',
|
||||
url: '/web/notifications',
|
||||
url: '/notifications',
|
||||
},
|
||||
]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue