We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! I'm trying to upload a yaml file with Uppy, but fileType ends up being null so it errors out. I'm guessing this is because https://github.com/sindresorhus/file-type doesn't support yaml. I think adding the lines 'yaml': 'text/yaml' and 'yml': 'text/yaml' to https://github.com/transloadit/uppy/blob/master/src/core/Utils.js#L119 should work. If someone could add that, that'd be great! Or if someone can just confirm that that's correct, I can create a PR for it.
fileType
null
'yaml': 'text/yaml'
'yml': 'text/yaml'
The text was updated successfully, but these errors were encountered:
Hi! Yes, seems like that should fix it, I’ve confirmed in local tests. Please send the PR! 🙏
Sorry, something went wrong.
arturi
No branches or pull requests
Hello!
I'm trying to upload a yaml file with Uppy, but
fileType
ends up beingnull
so it errors out. I'm guessing this is because https://github.com/sindresorhus/file-type doesn't support yaml.I think adding the lines
'yaml': 'text/yaml'
and'yml': 'text/yaml'
to https://github.com/transloadit/uppy/blob/master/src/core/Utils.js#L119 should work. If someone could add that, that'd be great! Or if someone can just confirm that that's correct, I can create a PR for it.The text was updated successfully, but these errors were encountered: