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 @@ def masto_instance(conn, _params) do
|
||||||
streaming_api: String.replace(Web.base_url, ["http","https"], "wss")
|
streaming_api: String.replace(Web.base_url, ["http","https"], "wss")
|
||||||
},
|
},
|
||||||
stats: Stats.get_stats,
|
stats: Stats.get_stats,
|
||||||
|
thumbnail: Web.base_url <> "/static/instance-thumbnail.jpeg",
|
||||||
max_toot_chars: Keyword.get(@instance, :limit)
|
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