Merge remote-tracking branch 'origin/develop' into manifest
authorAlex Gleason <alex@alexgleason.me>
Sun, 19 Dec 2021 17:33:10 +0000 (11:33 -0600)
committerAlex Gleason <alex@alexgleason.me>
Sun, 19 Dec 2021 17:33:10 +0000 (11:33 -0600)
1  2 
lib/pleroma/web/router.ex
test/pleroma/web/plugs/frontend_static_plug_test.exs

index afdc4f492062a291d9260e669ed773e664d3939c,197e1f3462d13b75b4f0b87cfe95fe15dcf5a2b4..c1713c6cf1d93ef53910f17b3b10ec185ce81c0e
@@@ -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)
index 93d0ab469a22b9c320c451d276b066e27066e4c6,82e955c25ddae611c4ba1e87bb5e1d6d81a88da6..031f7a69d788469ef1205f65dc8c431514fec5ab
@@@ -94,7 -94,7 +94,8 @@@ defmodule Pleroma.Web.Plugs.FrontendSta
        "internal",
        ".well-known",
        "nodeinfo",
 +      "manifest.json",
+       "auth",
        "proxy",
        "test",
        "user_exists",