From: Alex Gleason Date: Wed, 24 Nov 2021 23:58:58 +0000 (-0600) Subject: Merge remote-tracking branch 'pleroma/develop' into manifest X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=720198d56950ca98f4d947dd630b0e170eda569b;p=akkoma Merge remote-tracking branch 'pleroma/develop' into manifest --- 720198d56950ca98f4d947dd630b0e170eda569b diff --cc lib/pleroma/web/router.ex index c3b74e622,abb332ec2..afdc4f492 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@@ -744,31 -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(:api) + + get("/manifest.json", ManifestController, :show) + end + - scope "/", Pleroma.Web do - pipe_through(:mastodon_html) - - get("/web/login", MastodonAPI.AuthController, :login) - delete("/auth/sign_out", MastodonAPI.AuthController, :logout) - - post("/auth/password", MastodonAPI.AuthController, :password_reset) - - get("/web/*path", MastoFEController, :index) - - get("/embed/:id", EmbedController, :show) - 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 a1cce6398,a9342e6f0..93d0ab469 --- a/test/pleroma/web/plugs/frontend_static_plug_test.exs +++ b/test/pleroma/web/plugs/frontend_static_plug_test.exs @@@ -94,10 -94,6 +94,7 @@@ defmodule Pleroma.Web.Plugs.FrontendSta "internal", ".well-known", "nodeinfo", - "web", + "manifest.json", - "auth", - "embed", "proxy", "test", "user_exists",