mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
provide instance thumbnail at /api/v1/instance
This commit is contained in:
parent
5e37adedfb
commit
a4335e391f
2 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController 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)
|
||||
}
|
||||
|
||||
|
|
BIN
priv/static/instance-thumbnail.jpeg
Normal file
BIN
priv/static/instance-thumbnail.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
Loading…
Reference in a new issue