From: Alex Gleason Date: Fri, 3 Dec 2021 06:11:38 +0000 (-0600) Subject: Merge remote-tracking branch 'origin/develop' into password-reset X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8286ceb46522069607cc0a0dec864022606bf19d;p=akkoma Merge remote-tracking branch 'origin/develop' into password-reset --- 8286ceb46522069607cc0a0dec864022606bf19d diff --cc lib/pleroma/web/router.ex index 0d27571f2,abb332ec2..dae113617 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@@ -744,29 -736,6 +736,12 @@@ defmodule Pleroma.Web.Router d get("/:version", Nodeinfo.NodeinfoController, :nodeinfo) end - scope "/", Pleroma.Web do - pipe_through(:api) - - get("/web/manifest.json", MastoFEController, :manifest) - end - - scope "/", Pleroma.Web do - pipe_through(:mastodon_html) - - get("/web/login", MastodonAPI.AuthController, :login) - delete("/auth/sign_out", MastodonAPI.AuthController, :logout) - - get("/web/*path", MastoFEController, :index) - - get("/embed/:id", EmbedController, :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)