Add basic auth.
[akkoma] / lib / pleroma / web / router.ex
1 defmodule Pleroma.Web.Router do
2 use Pleroma.Web, :router
3
4 pipeline :api do
5 plug :accepts, ["json"]
6 end
7
8 scope "/api", Pleroma.Web do
9 pipe_through :api
10 end
11 end