provide instance thumbnail at /api/v1/instance

This commit is contained in:
Hakaba Hitoyo 2018-01-31 22:51:25 +09:00
parent 5e37adedfb
commit a4335e391f
2 changed files with 1 additions and 0 deletions

View file

@ -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)
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB