修复webdav上传的根目录

pull/1244/head
Weidi Deng 3 years ago
parent dc69a63217
commit 024f09f666

@ -384,6 +384,9 @@ func (fs *FileSystem) CreateDirectory(ctx context.Context, fullPath string) (*mo
}
if fullPath == "/" {
if fs.Root != nil {
return fs.Root, nil
}
return fs.User.Root()
}

Loading…
Cancel
Save