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

Mime lookup fix #6

Open
haviduck opened this issue Aug 29, 2018 · 1 comment
Open

Mime lookup fix #6

haviduck opened this issue Aug 29, 2018 · 1 comment

Comments

@haviduck
Copy link

Hey. The latest node\mime packages have deprecated mime.lookup. change to mime.getType to avoid that issue.

@Aqvdrt
Copy link

Aqvdrt commented Aug 25, 2023

Instead, user can specify file.type when construct. Like this: "var file = new File({path: 'a.txt', type: 'text/plain'});"

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

No branches or pull requests

2 participants