provide instance thumbnail at /api/v1/instance (debug)
authorHakaba Hitoyo <example@example.com>
Wed, 31 Jan 2018 14:04:34 +0000 (23:04 +0900)
committerHakaba Hitoyo <example@example.com>
Wed, 31 Jan 2018 14:04:34 +0000 (23:04 +0900)
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
priv/static/instance/thumbnail.jpeg [moved from priv/static/static/instance-thumbnail.jpeg with 100% similarity]

index ce30453cb57de21994bdd25a9b83cc2b89858771..e16a2a092aeea4a87242c6b1c7fc80c0c8ef7559 100644 (file)
@@ -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)
     }