provide instance thumbnail at /api/v1/instance (debug)

This commit is contained in:
Hakaba Hitoyo 2018-01-31 23:04:34 +09:00
parent 10753178ea
commit e47f60c053
2 changed files with 1 additions and 1 deletions

View file

@ -103,7 +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",
thumbnail: Web.base_url <> "/instance/thumbnail.jpeg",
max_toot_chars: Keyword.get(@instance, :limit)
}

View file

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB