1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ManifestView do
8 alias Pleroma.Web.Endpoint
10 def render("manifest.json", _params) do
12 name: Config.get([:instance, :name]),
13 description: Config.get([:instance, :description]),
16 src: "/static/logo.svg",
20 src: "/static/logo-512.png",
26 src: "/static/logo-512.png",
31 theme_color: Config.get([:manifest, :theme_color]),
32 background_color: Config.get([:manifest, :background_color]),
33 display: "standalone",
34 scope: Endpoint.url(),