fix: remove files

This commit is contained in:
Simon Ding
2024-12-11 21:25:28 +08:00
parent 6d127c6d00
commit 3cf48d1f8e
3 changed files with 5 additions and 3 deletions

View File

@@ -87,5 +87,5 @@ func (w *WebdavStorage) UploadProgress() float64 {
}
func (w *WebdavStorage) RemoveAll(path string) error {
return w.fs.RemoveAll(path)
return w.fs.RemoveAll(filepath.Join(w.dir, path))
}