Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
add mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
eco-monk committed Apr 26, 2023
1 parent 757c365 commit 2e88c43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function DisplayImageUpload({
restrictions: {
maxNumberOfFiles: 1,
maxFileSize: 3145728, // 3 MB
allowedFileTypes: [".jpg", ".jpeg", ".png"],
allowedFileTypes: [".jpg", ".jpeg", ".png", "image/jpg", "image/jpeg", "image/png"],
},
infoTimeout: 5000,
locale: {
Expand Down

0 comments on commit 2e88c43

Please sign in to comment.