tusker_push/lib/tusker_push_web/router.ex

12 lines
183 B
Elixir
Raw Normal View History

2024-04-05 18:23:00 +00:00
defmodule TuskerPushWeb.Router do
use TuskerPushWeb, :router
pipeline :api do
plug :accepts, ["json"]
end
scope "/api", TuskerPushWeb do
pipe_through :api
end
end