This release addresses key issues and adds new functionality to enhance the user experience.
New Feature
- Add ZIP Content Type Mapping:
- Introduced support for ZIP files by adding ".zip": "application/zip" to the
getContentType
function. - Ensures ZIP files are served with the correct Content-Type header.
- Introduced support for ZIP files by adding ".zip": "application/zip" to the
Bug Fixes
- Import readFileSync for sendFile Functionality:
- Fixed a critical issue where
readFileSync
was not imported, causing runtime errors in thesendFile
method.
- Fixed a critical issue where
Details
The sendFile
method works now as expected and supports sending ZIP archive to the browser as the response.
Thank you for your continued support!