- 💥 Require Node.js >= 14.18
- 💥 Added correct http status codes for error responses
- Added option to serve a custom index html file
- Fixed false upload ok message when no file was uploaded
- Updated formidable dependency
- Refactored and optimized some code parts
- Switched to ES module style
- Added eslint checks for better code
- Use async/await style to avoid the callback hell
- Fix folder creation issues
- Fixed create non-existent folder on upload (by gtricot)
- Added option to create non-existent folder on upload (by gtricot)
- Added checks for 'no file chosen' and 'maxFileSize exceeded' on the page served (by hmmnoice)
- Updated dependency
- Add support for command line arguments
--help
and-h
to display some help text
- Add support for command line arguments
- Automatic port increase if the requested port is already in use
- Add viewport meta tag for better support on mobile devices (by szanni)
- Require Node.js >= 10
- Updated formidable dependency
- Delete temporary files for failed or unauthorized uploads
- Some code optimizations
- Added max file size option
- Added display of upload errors
- Added display of IP addresses
- Updated some log messages
- Moved project to GitHub