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 ClearlyClaire committed Jan 28, 2022
1 parent 1b32c00 commit 1cfa2bd
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 1cfa2bd

Please sign in to comment.