Feed provider only generates a redirect, so always activate it.
authorMark Felder <feld@FreeBSD.org>
Mon, 31 Aug 2020 19:48:22 +0000 (14:48 -0500)
committerrinpatch <rinpatch@sdf.org>
Tue, 8 Sep 2020 17:21:34 +0000 (20:21 +0300)
Making this configurable is misleading.

config/config.exs
lib/pleroma/web/metadata.ex

index df61c069ef5bd0a762b9daf63ff64ac1b9314ca2..1a2b312b500e5b236620a9e24771e49cf0be79ef 100644 (file)
@@ -454,8 +454,7 @@ config :pleroma, :gopher,
 config :pleroma, Pleroma.Web.Metadata,
   providers: [
     Pleroma.Web.Metadata.Providers.OpenGraph,
-    Pleroma.Web.Metadata.Providers.TwitterCard,
-    Pleroma.Web.Metadata.Providers.Feed
+    Pleroma.Web.Metadata.Providers.TwitterCard
   ],
   unfurl_nsfw: false
 
index 0f0b56321dfbac5c37ef787a2f81c712b0170f34..926b5b1875b02b7e601da3a9f9bb9828ab9ad77b 100644 (file)
@@ -7,8 +7,9 @@ defmodule Pleroma.Web.Metadata do
 
   def build_tags(params) do
     providers = [
-      Pleroma.Web.Metadata.Providers.RestrictIndexing,
-      Pleroma.Web.Metadata.Providers.RelMe
+      Pleroma.Web.Metadata.Providers.Feed,
+      Pleroma.Web.Metadata.Providers.RelMe,
+      Pleroma.Web.Metadata.Providers.RestrictIndexing
       | activated_providers()
     ]