Skip to content

Commit

Permalink
Use mime type audio/wav for .wav files (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckv committed Jan 7, 2024
1 parent 700cf15 commit c7c923c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core.d.ts
Expand Up @@ -192,7 +192,7 @@ export type MimeType =
| 'video/webm'
| 'video/quicktime'
| 'video/vnd.avi'
| 'audio/vnd.wave'
| 'audio/wav'
| 'audio/qcelp'
| 'audio/x-ms-asf'
| 'video/x-ms-asf'
Expand Down
2 changes: 1 addition & 1 deletion core.js
Expand Up @@ -835,7 +835,7 @@ export class FileTypeParser {
if (this.check([0x57, 0x41, 0x56, 0x45], {offset: 8})) {
return {
ext: 'wav',
mime: 'audio/vnd.wave',
mime: 'audio/wav',
};
}

Expand Down
2 changes: 1 addition & 1 deletion supported.js
Expand Up @@ -189,7 +189,7 @@ export const mimeTypes = [
'video/webm',
'video/quicktime',
'video/vnd.avi',
'audio/vnd.wave',
'audio/wav',
'audio/qcelp',
'audio/x-ms-asf',
'video/x-ms-asf',
Expand Down

0 comments on commit c7c923c

Please sign in to comment.