droppyjs / droppy

Self-hosted file storage
https://droppyjs.com
BSD 2-Clause "Simplified" License
107 stars 13 forks source link

Removing files broken since excluding rimraf #31

Closed devbranch-vadym closed 3 years ago

devbranch-vadym commented 3 years ago

It seems like removing files doesn't work since https://github.com/silverwind/droppy/commit/13d70bc619c67f6733222405d4d2911f26fcef52 .

Originally the code was using rimraf but then it was replaced with fs.rmdir used for both files and directories.

When you delete files from UI they appears to be removed but actually they remain on the server.

markhughes commented 3 years ago

Thanks for tackling this one so quickly!