Skip to content

Commit

Permalink
use relative path for scope (mastodon#16714)
Browse files Browse the repository at this point in the history
Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
  • Loading branch information
HolgerHuo authored and kadoshita committed Nov 6, 2021
1 parent ff38cb1 commit af2a9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/manifest_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def start_url
end

def scope
root_url
'/'
end

def share_target
Expand Down

0 comments on commit af2a9d6

Please sign in to comment.