Commit
Refactor: Simplify audio file validation logic and update file picker accept string
Commit details
Commit notes
This commit refines the audio file validation process by removing reliance on MIME types due to inconsistencies across browsers. It allows valid audio file extensions through while ensuring that magic byte validation catches any invalid files during upload. Additionally, the audio file accept string for the file picker has been updated for better formatting.
- Files changed
- 2
- Lines added
- +13
- Lines removed
- −38