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.
Holger 5 years ago committed by Claire
parent
commit
1cfa2bdb03
  1. 2
      app/serializers/manifest_serializer.rb

2
app/serializers/manifest_serializer.rb

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

Loading…
Cancel
Save