defmodule NullaWeb.HostmetaController do use NullaWeb, :controller def index(conn, _params) do domain = NullaWeb.Endpoint.host() xml = """ """ conn |> put_resp_content_type("application/xrd+xml") |> send_resp(200, xml) end end