aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHakaba Hitoyo <example@example.com>2018-01-31 23:04:34 +0900
committerHakaba Hitoyo <example@example.com>2018-01-31 23:04:34 +0900
commite47f60c05376b9e2af0c90a984014003aac22104 (patch)
treec5c0e424a0a77def5797eb4ebc8686490979e82c /lib
parent10753178ead922aa364738219b715dcaed979b20 (diff)
downloadpleroma-e47f60c05376b9e2af0c90a984014003aac22104.tar.gz
provide instance thumbnail at /api/v1/instance (debug)
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/mastodon_api_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
index ce30453cb..e16a2a092 100644
--- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
+++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
@@ -103,7 +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",
+ thumbnail: Web.base_url <> "/instance/thumbnail.jpeg",
max_toot_chars: Keyword.get(@instance, :limit)
}