Pleroma.Web.ActivityPub.Utils: Use locally-served JSON-LD Litepub context instead of Github-hosted one

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-11-08 19:38:38 +01:00
parent 705bfe39e9
commit abcacec97d
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -70,7 +70,7 @@ def make_json_ld_header do
%{ %{
"@context" => [ "@context" => [
"https://www.w3.org/ns/activitystreams", "https://www.w3.org/ns/activitystreams",
"https://litepub.github.io/litepub/context.jsonld" "#{Web.base_url()}/litepub-1.0.jsonld"
] ]
} }
end end