Commit a4335e39 authored by Hakaba Hitoyo's avatar Hakaba Hitoyo
Browse files

provide instance thumbnail at /api/v1/instance

parent 5e37aded
......@@ -103,6 +103,7 @@ def masto_instance(conn, _params) do
streaming_api: String.replace(Web.base_url, ["http","https"], "wss")
},
stats: Stats.get_stats,
thumbnail: Web.base_url <> "/static/instance-thumbnail.jpeg",
max_toot_chars: Keyword.get(@instance, :limit)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment