From aef7c4bf0036968f641bb1d2df2ceffce4559737 Mon Sep 17 00:00:00 2001
From: Fulgen301 <tokmajigeorge@gmail.com>
Date: Fri, 26 Jul 2019 17:17:08 +0200
Subject: Allow uploading new image files

---
 src/pages/UploadDetail.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/pages/UploadDetail.vue')

diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index c37f9dd..5eee7e6 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -304,8 +304,8 @@
           url: `${this.$http.defaults.baseURL}/media`,
           paramName: 'media',
           headers: { Authorization: `JWT ${this.$store.state.user.authToken}` },
-          acceptedFiles: '.ocs,.ocf,.ocd,.ocg,.ocr,.ocu,.c4d,.c4g,.c4f,.c4r,.c4s,c4v,.c4l.c4u',
-          dictDefaultMessage: "<p><i class='fa fa-3x fa-cloud-upload'></i></p><p>Drop your mod files here or click to upload</p>",
+          acceptedFiles: '.ocs,.ocf,.ocd,.ocg,.ocr,.ocu,.c4d,.c4g,.c4f,.c4r,.c4s,c4v,.c4l,.c4u,.png,jpg',
+          dictDefaultMessage: "<p><i class='fa fa-3x fa-cloud-upload'></i></p><p>Drop your mod files or images here or click to upload</p>",
           maxFilesize: 30, // MB
         }
       },
-- 
cgit v1.2.3-54-g00ecf

