Merge branch 'exposed-background-image' into 'develop'
InstanceView: Expose background image link. See merge request pleroma/pleroma!2545
This commit is contained in:
commit
94ba5a7802
6 changed files with 7 additions and 1 deletions
|
|
@ -130,6 +130,7 @@ defmodule Pleroma.Web.ApiSpec.InstanceOperation do
|
|||
example: %{
|
||||
"avatar_upload_limit" => 2_000_000,
|
||||
"background_upload_limit" => 4_000_000,
|
||||
"background_image" => "/static/image.png",
|
||||
"banner_upload_limit" => 4_000_000,
|
||||
"description" => "A Pleroma instance, an alternative fediverse server",
|
||||
"email" => "lain@lain.com",
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue