This commit is contained in:
Henry Jameson 2023-10-30 11:29:57 +02:00
parent d8eb741b6d
commit 6f38915198
2 changed files with 5 additions and 3 deletions

View file

@ -990,8 +990,7 @@ config :pleroma, :config_description, [
%{ %{
key: :favicon, key: :favicon,
type: {:string, :image}, type: {:string, :image},
description: description: "Favicon of the instance",
"Favicon of the instance",
suggestions: ["/favicon.png"] suggestions: ["/favicon.png"]
}, },
%{ %{

View file

@ -43,7 +43,10 @@ defmodule Pleroma.Web.Fallback.RedirectController do
response = response =
index_content index_content
|> String.replace("<!--server-generated-meta-->", tags <> preloads <> title <> favicon <> manifest) |> String.replace(
"<!--server-generated-meta-->",
tags <> preloads <> title <> favicon <> manifest
)
conn conn
|> put_resp_content_type("text/html") |> put_resp_content_type("text/html")