From: Alex Gleason Date: Sun, 19 Dec 2021 17:33:10 +0000 (-0600) Subject: Merge remote-tracking branch 'origin/develop' into manifest X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e4f9cb1c1b3969164c03a219d5a760df07d2b3cd;p=akkoma Merge remote-tracking branch 'origin/develop' into manifest --- e4f9cb1c1b3969164c03a219d5a760df07d2b3cd diff --cc lib/pleroma/web/router.ex index afdc4f492,197e1f346..c1713c6cf --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@@ -736,12 -742,12 +742,18 @@@ defmodule Pleroma.Web.Router d get("/:version", Nodeinfo.NodeinfoController, :nodeinfo) end + scope "/", Pleroma.Web do + pipe_through(:api) + + get("/manifest.json", ManifestController, :show) + end + + scope "/", Pleroma.Web do + pipe_through(:pleroma_html) + + post("/auth/password", TwitterAPI.PasswordController, :request) + end + scope "/proxy/", Pleroma.Web do get("/preview/:sig/:url", MediaProxy.MediaProxyController, :preview) get("/preview/:sig/:url/:filename", MediaProxy.MediaProxyController, :preview) diff --cc test/pleroma/web/plugs/frontend_static_plug_test.exs index 93d0ab469,82e955c25..031f7a69d --- a/test/pleroma/web/plugs/frontend_static_plug_test.exs +++ b/test/pleroma/web/plugs/frontend_static_plug_test.exs @@@ -94,7 -94,7 +94,8 @@@ defmodule Pleroma.Web.Plugs.FrontendSta "internal", ".well-known", "nodeinfo", + "manifest.json", + "auth", "proxy", "test", "user_exists",