Skip to content

Commit

Permalink
Merge pull request #2 from asunar/master
Browse files Browse the repository at this point in the history
Add accept attribute
  • Loading branch information
jbesw authored May 23, 2022
2 parents f1b0393 + 4981d0c commit df98e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>S3 Uploader Test</h1>

<div v-if="!image">
<h2>Select an image</h2>
<input type="file" @change="onFileChange">
<input type="file" @change="onFileChange" accept="image/jpeg">
</div>
<div v-else>
<img :src="image" />
Expand Down

0 comments on commit df98e22

Please sign in to comment.