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

Form data util does not use @web-std/file #63

Closed
benmerckx opened this issue May 31, 2022 · 2 comments · Fixed by remix-run/web-std-io#46
Closed

Form data util does not use @web-std/file #63

benmerckx opened this issue May 31, 2022 · 2 comments · Fixed by remix-run/web-std-io#46
Assignees

Comments

@benmerckx
Copy link

form.append(name, new File([data], filename, { type: contentType }))

The File instance being constructed here is not imported from @web-std/file causing it to fail in node with

ReferenceError: File is not defined
@Gozala Gozala self-assigned this Aug 8, 2022
@Gozala
Copy link
Contributor

Gozala commented Aug 8, 2022

Thanks for catching this @benmerckx would you be interested in contributing a fix ?

@MichaelDeBoey
Copy link
Contributor

Closed by #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants