akkoma/lib/pleroma/web/router.ex
2017-03-17 17:09:58 +01:00

12 lines
177 B
Elixir

defmodule Pleroma.Web.Router do
use Pleroma.Web, :router
pipeline :api do
plug :accepts, ["json"]
end
scope "/api", Pleroma.Web do
pipe_through :api
end
end