1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 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]),
14 icons: Config.get([:manifest, :icons]),
15 theme_color: Config.get([:manifest, :theme_color]),
16 background_color: Config.get([:manifest, :background_color]),
17 display: "standalone",
18 scope: Endpoint.url(),