Skip to content

Commit 1cfa2bd

Browse files
HolgerHuoClearlyClaire
authored andcommitted
use relative path for scope (mastodon#16714)
Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
1 parent 1b32c00 commit 1cfa2bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/serializers/manifest_serializer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def start_url
4848
end
4949

5050
def scope
51-
root_url
51+
'/'
5252
end
5353

5454
def share_target

0 commit comments

Comments
 (0)