diff --git a/front/components/FileUpload.vue b/front/components/FileUpload.vue index 0b296e9..f449472 100644 --- a/front/components/FileUpload.vue +++ b/front/components/FileUpload.vue @@ -22,6 +22,9 @@ const { isOverDropZone } = useDropZone(dropZoneRef, { dataTypes: (types) => { for (const type of types) { for (const acceptType of accept.value.split(',')) { + if (acceptType === '*') { + return true + } if (acceptType?.endsWith('*')) { const [acceptTypePrefix,] = acceptType?.split('/') if (!acceptTypePrefix) {