Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

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 Sep 8, 2021
1 parent 12cd097 commit 209f8f3
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 209f8f3

Please sign in to comment.