mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-04 17:04:42 +08:00
✨ load balance
This commit is contained in:
@ -40,7 +40,7 @@ func ParsePath(rawPath string) (*model.Account, string, base.Driver, error) {
|
||||
path = "/" + strings.Join(paths[2:], "/")
|
||||
name = paths[1]
|
||||
}
|
||||
account, ok := model.GetAccount(name)
|
||||
account, ok := model.GetBalancedAccount(name)
|
||||
if !ok {
|
||||
return nil, "", nil, fmt.Errorf("no [%s] account", name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user