postland/lib/postland_web/controllers/webfinger_controller.ex

10 lines
213 B
Elixir
Raw Normal View History

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