Skip to content

Fix MP3 data URL MIME type#4487

Open
cyphercodes wants to merge 1 commit into
evanw:mainfrom
cyphercodes:fix-mp3-dataurl-mime
Open

Fix MP3 data URL MIME type#4487
cyphercodes wants to merge 1 commit into
evanw:mainfrom
cyphercodes:fix-mp3-dataurl-mime

Conversation

@cyphercodes

Copy link
Copy Markdown

Summary:

  • Add the built-in MIME type for .mp3 files as audio/mpeg.
  • Cover .mp3 dataurl imports in the existing extension-based MIME snapshot test.

Tests:

  • go test ./internal/bundler_tests
  • git diff --check

Fixes #4485

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contents type for mp3 should be audio/mpeg when imported with dataurl

1 participant