mix format

This commit is contained in:
Mirai Kumiko 2025-06-08 10:58:48 +02:00
parent 7d8cb33405
commit 4fb1e200f1
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
12 changed files with 221 additions and 69 deletions

View file

@ -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