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

docs(blob): proper input file type specifiers #393

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

Yizack
Copy link
Contributor

@Yizack Yizack commented Dec 12, 2024

Hello! 👋 This PR corrects the use of the input accept attribute in the documentation, as accept="jpeg, png" won't work as expected. The proper format uses MIME types or file extensions starting with a period, so we could do accept=".jpeg, .png" but I better suggest to use accept="image/jpeg, image/png" instead.

I also removed the accept attribute from the playground since we should be able to upload any file there

Copy link
Contributor

@atinux atinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link

pkg-pr-new bot commented Dec 13, 2024

Open in Stackblitz

npm i https://pkg.pr.new/nuxt-hub/core/@nuxthub/core@393

commit: 29fffba

@atinux atinux merged commit 39b352e into nuxt-hub:main Dec 13, 2024
7 checks passed
@Yizack Yizack deleted the docs-mimetypes branch December 13, 2024 19:59
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

Successfully merging this pull request may close these issues.

2 participants