BobbyWibowo / lolisafe

Blazing fast file uploader and awesome bunker written in node! 🚀
MIT License
317 stars 56 forks source link

.tar.zst being replaced as .zst #370

Closed jomp16 closed 3 years ago

jomp16 commented 3 years ago

Describe the bug

When I upload a .tar.zst file, lolisafe changes to .zst, and needs to be renamed to .tar.zst to open the file.

To Reproduce

  1. Upload a .tar.zst file
  2. See the filename generated with wrong extension, .zst

Expected behavior

A file with .tar.zst like .tar.gz.

BobbyWibowo commented 3 years ago

Fixed in https://github.com/BobbyWibowo/lolisafe/commit/631d14d8872446f8e90c8b5acc4bd7be066dc368.