Browse Source

use relative path for `scope` (#16714)

Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
closed-social-v3
Holger 2 years ago
committed by Eugen Rochko
parent
commit
663b58aaae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/serializers/manifest_serializer.rb

+ 1
- 1
app/serializers/manifest_serializer.rb View File

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

Loading…
Cancel
Save