Просмотр исходного кода

Update AdminSettings, fix avif,heic support

Daniel Supernault 4 месяцев назад
Родитель
Сommit
a846930033
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      resources/assets/components/admin/AdminSettings.vue

+ 6 - 2
resources/assets/components/admin/AdminSettings.vue

@@ -1022,11 +1022,15 @@
                     }
                     }
 
 
                     if(this.mediaTypes.mp4) {
                     if(this.mediaTypes.mp4) {
-                        res += 'video/mp4'
+                        res += 'video/mp4,'
+                    }
+
+                    if(this.mediaTypes.heic) {
+                        res += 'image/heic,'
                     }
                     }
 
 
                     if(this.mediaTypes.avif) {
                     if(this.mediaTypes.avif) {
-                        res += 'image/avif'
+                        res += 'image/avif,'
                     }
                     }
 
 
                     if(res.endsWith(',')) {
                     if(res.endsWith(',')) {