Pleroma.Web.ActivityPub.Utils: Use locally-served JSON-LD Litepub context instead...
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Thu, 8 Nov 2018 18:38:38 +0000 (19:38 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Thu, 8 Nov 2018 18:38:38 +0000 (19:38 +0100)
lib/pleroma/web/activity_pub/utils.ex

index d81c824f077e0214fcb2c570b2a4a58bbfdb131d..174906537a8625863a8706fa090ed0592f30c908 100644 (file)
@@ -70,7 +70,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
     %{
       "@context" => [
         "https://www.w3.org/ns/activitystreams",
-        "https://litepub.github.io/litepub/context.jsonld"
+        "#{Web.base_url()}/litepub-1.0.jsonld"
       ]
     }
   end