mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-19 11:48:46 +00:00
use relative path for scope
(#16714)
Use relative path for `scope` in web manifest to allow users use PWA correctly via alternate domains.
This commit is contained in:
parent
12cd097e7c
commit
209f8f3a60
|
@ -48,7 +48,7 @@ class ManifestSerializer < ActiveModel::Serializer
|
||||||
end
|
end
|
||||||
|
|
||||||
def scope
|
def scope
|
||||||
root_url
|
'/'
|
||||||
end
|
end
|
||||||
|
|
||||||
def share_target
|
def share_target
|
||||||
|
|
Loading…
Reference in a new issue