Add Oban Web and upgrade LiveView, plug
This commit is contained in:
parent
033083d1d1
commit
af4bed50e6
3 changed files with 8 additions and 3 deletions
|
|
@ -5,6 +5,7 @@
|
|||
defmodule Pleroma.Web.Router do
|
||||
use Pleroma.Web, :router
|
||||
import Phoenix.LiveDashboard.Router
|
||||
import Oban.Web.Router
|
||||
|
||||
pipeline :accepts_html do
|
||||
plug(:accepts, ["html"])
|
||||
|
|
@ -1045,6 +1046,7 @@ defmodule Pleroma.Web.Router do
|
|||
scope "/" do
|
||||
pipe_through([:pleroma_html, :authenticate, :require_admin])
|
||||
live_dashboard("/phoenix/live_dashboard", additional_pages: [oban: Oban.LiveDashboard])
|
||||
oban_dashboard("/pleroma/oban")
|
||||
end
|
||||
|
||||
# Test-only routes needed to test action dispatching and plug chain execution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue