spc-pleroma/lib/pleroma/web/router.ex

12 lines
177 B
Elixir
Raw Normal View History

2017-03-17 16:09:58 +00:00
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