set soapbox-fe v2 by default

fixes #157
This commit is contained in:
FloatingGhost 2022-08-11 10:25:03 +01:00
parent e5a2548521
commit 55179d4214
2 changed files with 2 additions and 2 deletions

View file

@ -746,7 +746,7 @@
"git" => "https://gitlab.com/soapbox-pub/soapbox-fe", "git" => "https://gitlab.com/soapbox-pub/soapbox-fe",
"build_url" => "build_url" =>
"https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/${ref}/download?job=build-production", "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" "build_dir" => "static"
}, },
# For developers - enables a swagger frontend to view the openapi spec # For developers - enables a swagger frontend to view the openapi spec

View file

@ -27,7 +27,7 @@ def call(conn, _opts) do
end end
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) 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 with %Activity{} = activity <- Activity.get_by_object_ap_id_with_object(ap_id) do