diff options
author | Henry Jameson <me@hjkos.com> | 2023-10-29 18:58:57 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-11-14 11:05:23 +0100 |
commit | a5aa8ea79603e22541de04c26293dc87bd2f2ed8 (patch) | |
tree | b55d0f1512c8abea90a6bf130e062776bb8cb945 /config | |
parent | bf2d6abaf2f7ccc908c512a8d5be4e091779e9e5 (diff) | |
download | pleroma-a5aa8ea79603e22541de04c26293dc87bd2f2ed8.tar.gz pleroma-a5aa8ea79603e22541de04c26293dc87bd2f2ed8.zip |
Add support for configuring a favicon and embed PWA manifest in server-generated-meta
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 3 | ||||
-rw-r--r-- | config/description.exs | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index f2c137872..247e1f25a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -171,6 +171,7 @@ config :pleroma, :instance, short_description: "", background_image: "/images/city.jpg", instance_thumbnail: "/instance/thumbnail.jpeg", + favicon: "/favicon.png", limit: 5_000, description_limit: 5_000, remote_limit: 100_000, @@ -346,6 +347,8 @@ config :pleroma, :manifest, icons: [ %{ src: "/static/logo.svg", + sizes: "144x144", + purpose: "any", type: "image/svg+xml" } ], diff --git a/config/description.exs b/config/description.exs index b152981c4..27e7f7e9b 100644 --- a/config/description.exs +++ b/config/description.exs @@ -988,6 +988,12 @@ config :pleroma, :config_description, [ suggestions: ["/instance/thumbnail.jpeg"] }, %{ + key: :favicon, + type: {:string, :image}, + description: "Favicon of the instance", + suggestions: ["/favicon.png"] + }, + %{ key: :show_reactions, type: :boolean, description: "Let favourites and emoji reactions be viewed through the API." |