remove unused router code

This commit is contained in:
Victor Martinez 2024-03-30 13:56:40 +01:00
parent 6812eb2898
commit 825fe14811

View file

@ -10,10 +10,6 @@ defmodule IntisyncWeb.Router do
plug :put_secure_browser_headers
end
pipeline :api do
plug :accepts, ["json"]
end
pipeline :hub do
plug :accepts, ["html"]
plug :fetch_session
@ -35,11 +31,6 @@ defmodule IntisyncWeb.Router do
live "/sessions/:id", HubLive
end
# Other scopes may use custom stacks.
# scope "/api", IntisyncWeb do
# pipe_through :api
# end
# Enable LiveDashboard in development
if Application.compile_env(:intisync, :dev_routes) do
# If you want to use the LiveDashboard in production, you should put