Deprecate Pleroma.Web.base_url/0
[akkoma] / lib / pleroma / web / templates / feed / feed / _activity.rss.eex
index 947bbb09970fa6f01788cf813414a1554eaf44a4..01dddba07132673d324cc04b84d1e9b40883089e 100644 (file)
@@ -38,7 +38,7 @@
     <%= if id == Pleroma.Constants.as_public() do %>
       <link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection">http://activityschema.org/collection/public</link>
     <% else %>
-      <%= unless Regex.match?(~r/^#{Pleroma.Web.base_url()}.+followers$/, id) do %>
+      <%= unless Regex.match?(~r/^#{Pleroma.Web.Endpoint.url()}.+followers$/, id) do %>
         <link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person"><%= id %></link>
       <% end %>
     <% end %>