use relative path for `scope` ()

Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Holger 2021-09-09 05:33:36 +08:00 committed by GitHub
parent 12cd097e7c
commit 209f8f3a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
app/serializers

View File

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