mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-04 23:53:11 +00:00
19 lines
356 B
Elixir
19 lines
356 B
Elixir
defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|
use Pleroma.Web, :controller
|
|
alias Pleroma.Web
|
|
|
|
def help_test(conn, _params) do
|
|
json(conn, "ok")
|
|
end
|
|
|
|
def config(conn, _params) do
|
|
json(conn, %{
|
|
site: %{
|
|
name: Web.base_url,
|
|
server: Web.base_url,
|
|
textlimit: 5000
|
|
}
|
|
})
|
|
end
|
|
end
|