Redirect to frontend on html notice path.
This commit is contained in:
parent
c6aa60c829
commit
80705c7a20
2 changed files with 9 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ defmodule Pleroma.Web.Router do
|
|||
end
|
||||
|
||||
pipeline :ostatus do
|
||||
plug :accepts, ["xml", "atom"]
|
||||
plug :accepts, ["xml", "atom", "html"]
|
||||
end
|
||||
|
||||
scope "/", Pleroma.Web do
|
||||
|
|
@ -97,7 +97,6 @@ defmodule Pleroma.Web.Router do
|
|||
scope "/", Fallback do
|
||||
get "/*path", RedirectController, :redirector
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
defmodule Fallback.RedirectController do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue