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

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

parent 10753178
...@@ -103,7 +103,7 @@ def masto_instance(conn, _params) do ...@@ -103,7 +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", thumbnail: Web.base_url <> "/instance/thumbnail.jpeg",
max_toot_chars: Keyword.get(@instance, :limit) 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