lint?
This commit is contained in:
parent
d8eb741b6d
commit
6f38915198
2 changed files with 5 additions and 3 deletions
|
@ -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"]
|
||||||
},
|
},
|
||||||
%{
|
%{
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Add table
Reference in a new issue