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

FormData class is confused with native FormData class in Chrome #550

Open
antonfil opened this issue May 25, 2023 · 1 comment
Open

FormData class is confused with native FormData class in Chrome #550

antonfil opened this issue May 25, 2023 · 1 comment

Comments

@antonfil
Copy link

Does this library suppose to work normally in browser (not Node.js)?
Seems like FormData class gets confused with native FormData class in Chrome.

@jimmywarting
Copy link

No
Just don't use this package anymore. form-data was built for NodeJS but fetch + FormData is built in to NodeJS now. so there is no longer any need to use this package.
To get blob's from the file system, use fs.openAsBlob(path)

in browser just use the built in.

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