mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-23 02:27:07 +08:00
fix: local relative path
This commit is contained in:
@@ -87,7 +87,7 @@ func Get(ctx context.Context, account driver.Driver, path string) (model.Obj, er
|
||||
}
|
||||
// not root folder
|
||||
dir, name := stdpath.Split(path)
|
||||
files, err := List(ctx, account, dir)
|
||||
files, err := List(ctx, account, utils.StandardizePath(dir))
|
||||
if err != nil {
|
||||
return nil, errors.WithMessage(err, "failed get parent list")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user