postland/lib/postland_web/controllers/webfinger_controller.ex
2024-09-29 19:53:00 -05:00

9 lines
213 B
Elixir

defmodule PostlandWeb.WebfingerController do
use PostlandWeb, :controller
def get(conn, _params) do
conn
|> put_resp_content_type("application/activity+json")
|> render(:webfinger, %{})
end
end