Skip to content

Commit 5fd7c52

Browse files
authored
Merge pull request #51 from SourceCodeOER/jy95-patch-1
feat(validation) : Add MIMES for archive
2 parents fda1609 + 303729e commit 5fd7c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Gestion/ExerciseForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
@submit.prevent="validateBeforeSubmit">
9898
<ValidationProvider tag="div"
9999
name="archive zip"
100-
rules="mimes:application/zip"
100+
rules="mimes:application/zip,application/x-zip,application/x-zip-compressed,application/octet-stream"
101101
ref="fileObserver"
102102
v-slot="{ errors, validate }">
103103
<span class="label__name">

0 commit comments

Comments
 (0)