mix format
This commit is contained in:
parent
7d8cb33405
commit
4fb1e200f1
12 changed files with 221 additions and 69 deletions
|
@ -11,13 +11,16 @@ defmodule NullaWeb.Router do
|
|||
end
|
||||
|
||||
pipeline :api do
|
||||
plug :accepts, ["json"]
|
||||
plug :accepts, ["activity+json", "ld+json"]
|
||||
|
||||
post "/inbox", InboxController, :receive
|
||||
post "/@:username/inbox", InboxController, :receive
|
||||
get "/@:username/outbox", OutboxController, :index
|
||||
end
|
||||
|
||||
scope "/", NullaWeb do
|
||||
pipe_through :browser
|
||||
|
||||
get "/", PageController, :home
|
||||
get "/@:username", UserController, :show
|
||||
resources "/users", UserController
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue