chore: change the CDN link of the logo and modify the OCR port (#84)

* Change the CDN link of the logo and modify the OCR port

* Update

* Rollback OCR interface
This commit is contained in:
Suyunmeng
2025-06-15 23:19:25 +08:00
committed by GitHub
parent 1c58d11d62
commit d95c4f0127
13 changed files with 28 additions and 28 deletions

View File

@ -98,7 +98,7 @@ func (d *FtpMainDriver) ClientConnected(cc ftpserver.ClientContext) (string, err
}
defer d.shutdownLock.RUnlock()
d.clients[cc.ID()] = cc
return "AList FTP Endpoint", nil
return "OpenList FTP Endpoint", nil
}
func (d *FtpMainDriver) ClientDisconnected(cc ftpserver.ClientContext) {

View File

@ -63,7 +63,7 @@ func (a *AferoAdapter) Stat(name string) (os.FileInfo, error) {
}
func (a *AferoAdapter) Name() string {
return "AList FTP Endpoint"
return "OpenList FTP Endpoint"
}
func (a *AferoAdapter) Chmod(_ string, _ os.FileMode) error {

View File

@ -65,7 +65,7 @@ func UpdateIndex() {
mainColor := setting.GetStr(conf.MainColor)
conf.ManageHtml = conf.RawIndexHtml
replaceMap1 := map[string]string{
"https://cdn.statically.io/gh/OpenListTeam/Logo/main/OpenList.svg": favicon,
"https://cdn.oplist.org/gh/OpenListTeam/Logo@main/OpenList.svg": favicon,
"Loading...": title,
"main_color: undefined": fmt.Sprintf("main_color: '%s'", mainColor),
}