mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-19 00:26:41 +08:00
🐛 fix connMap not init
This commit is contained in:
@@ -118,6 +118,6 @@ func (driver S3) GetKey(path string, account *model.Account, dir bool) string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
sessionsMap = make(map[string]*session.Session, 0)
|
||||
sessionsMap = make(map[string]*session.Session)
|
||||
base.RegisterDriver(&S3{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user