mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-21 09:37:28 +08:00
🐛 fix connMap not init
This commit is contained in:
@@ -27,4 +27,5 @@ func (driver FTP) Login(account *model.Account) (*ftp.ServerConn, error) {
|
||||
|
||||
func init() {
|
||||
base.RegisterDriver(&FTP{})
|
||||
connMap = make(map[string]*ftp.ServerConn)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user