mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 04:06:18 +08:00
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:
@ -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) {
|
||||
|
@ -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 {
|
||||
|
@ -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),
|
||||
}
|
||||
|
Reference in New Issue
Block a user