Skip to content

v3.5.0

Latest
Compare
Choose a tag to compare
@LebCit LebCit released this 05 Aug 00:12

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.

Bug Fixes

  • Import readFileSync for sendFile Functionality:
    • Fixed a critical issue where readFileSync was not imported, causing runtime errors in the sendFile method.

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!