mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-20 22:22:36 -04:00
40869bcf39
Express's mime package does not recognize .m4b, causing it to fall back to application/octet-stream. This reuses the existing getAudioMimeTypeFromExtname utility (already applied to the download endpoint) to set the correct audio/mp4 header before sendFile. Fixes #5041