InstanceView: Expose background image link.

This will make it easier for more clients to support this feature.
This commit is contained in:
lain 2020-05-18 13:28:50 +02:00
commit 188b32145e
3 changed files with 4 additions and 1 deletions

View file

@ -33,6 +33,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
avatar_upload_limit: Keyword.get(instance, :avatar_upload_limit),
background_upload_limit: Keyword.get(instance, :background_upload_limit),
banner_upload_limit: Keyword.get(instance, :banner_upload_limit),
background_image: Keyword.get(instance, :background_image),
pleroma: %{
metadata: %{
features: features(),