use relative path for `scope` (#16714)

Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
lolsob-rspec
Holger 2021-09-09 05:33:36 +08:00 committed by GitHub
parent 067d10d664
commit 8c688e3626
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class ManifestSerializer < ActiveModel::Serializer
end
def scope
root_url
'/'
end
def share_target