Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fallback for mime.lookup #63

Merged
merged 1 commit into from
Mar 14, 2020
Merged

Add fallback for mime.lookup #63

merged 1 commit into from
Mar 14, 2020

Conversation

codenirvana
Copy link
Member

PR Checklist:

  • I have run npm test locally and all tests are passing.
  • I have added/updated tests for any new behavior.
  • If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]

PR Description

Instead of returning the first available type, mime-types simply returns false, so fallback to application/octet-stream.

@codenirvana codenirvana merged commit edc91e9 into master Mar 14, 2020
@codenirvana codenirvana deleted the feature/mime-lookup branch March 14, 2020 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant