Commit cee357ec authored by Mayel's avatar Mayel

change routes

parent 2ac66954
Pipeline #28865505 failed with stages
in 5 minutes and 23 seconds
......@@ -960,7 +960,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|> render(MastodonView, "index.html", %{initial_state: initial_state})
else
conn
|> redirect(to: "/?login")
|> redirect(to: "/web/login")
end
end
......
......@@ -340,8 +340,8 @@ defmodule Pleroma.Web.Router do
scope "/", Pleroma.Web.MastodonAPI do
pipe_through(:mastodon_html)
get("/web/register", MastodonAPIController, :register)
post("/web/register", MastodonAPIController, :register_post)
get("/register", MastodonAPIController, :register)
post("/register", MastodonAPIController, :register_post)
get("/web/login", MastodonAPIController, :login)
post("/web/login", MastodonAPIController, :login_post)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment