Slight cleanup.
This commit is contained in:
parent
2a298d70f9
commit
2652d9e4ed
8 changed files with 55 additions and 41 deletions
|
|
@ -42,16 +42,4 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
_ -> json(conn, "Pleroma Dev")
|
||||
end
|
||||
end
|
||||
|
||||
# TODO: Move this
|
||||
def masto_instance(conn, _params) do
|
||||
response = %{
|
||||
uri: Web.base_url,
|
||||
title: Web.base_url,
|
||||
description: "A Pleroma instance, an alternative fediverse server",
|
||||
version: "dev"
|
||||
}
|
||||
|
||||
json(conn, response)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue