🎇 close #512 favicon redirect

This commit is contained in:
Xhofe
2022-02-08 18:07:13 +08:00
parent bef3d2f88d
commit 4f81735af6
5 changed files with 14 additions and 3 deletions

View File

@ -97,7 +97,7 @@ func LoadSettings() {
favicon, err := GetSettingByKey("favicon")
if err == nil {
//conf.Favicon = favicon.Value
conf.ManageHtml = strings.Replace(conf.RawIndexHtml, "https://store.heytapimage.com/cdo-portal/feedback/202110/30/d43c41c5d257c9bc36366e310374fb19.png", favicon.Value, 1)
conf.ManageHtml = strings.Replace(conf.RawIndexHtml, "https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg", favicon.Value, 1)
}
title, err := GetSettingByKey("title")
if err == nil {