set soapbox-fe v2 by default
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Thu, 11 Aug 2022 09:25:03 +0000 (10:25 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Thu, 11 Aug 2022 09:25:03 +0000 (10:25 +0100)
fixes #157

config/config.exs
lib/pleroma/web/plugs/http_signature_plug.ex

index 947ff0ecc6ce6a2511997f372a1958fa8ed75d75..f49ec861c0f3329806315bea741b0faa67fee79f 100644 (file)
@@ -746,7 +746,7 @@ config :pleroma, :frontends,
       "git" => "https://gitlab.com/soapbox-pub/soapbox-fe",
       "build_url" =>
         "https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/${ref}/download?job=build-production",
-      "ref" => "v1.0.0",
+      "ref" => "v2.0.0",
       "build_dir" => "static"
     },
     # For developers - enables a swagger frontend to view the openapi spec
index 79030be5f1f5b25697e8697d2a981c818f449dec..cfee392c8109aee266596d854967878950cdd4dd 100644 (file)
@@ -27,7 +27,7 @@ defmodule Pleroma.Web.Plugs.HTTPSignaturePlug do
     end
   end
 
-  def route_aliases(%{path_info: ["objects", id]} = conn) do
+  def route_aliases(%{path_info: ["objects", id]}) do
     ap_id = Router.Helpers.o_status_url(Pleroma.Web.Endpoint, :object, id)
 
     with %Activity{} = activity <- Activity.get_by_object_ap_id_with_object(ap_id) do