From 5858274d0bad8023174c91d82f34c353e442e21a Mon Sep 17 00:00:00 2001 From: George Goodall Date: Mon, 18 Dec 2023 15:57:25 +0000 Subject: [PATCH] added excel to accepted file types --- src/controllers/uploadController.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/uploadController.js b/src/controllers/uploadController.js index 697103d6..4c60ad78 100644 --- a/src/controllers/uploadController.js +++ b/src/controllers/uploadController.js @@ -62,6 +62,8 @@ class UploadController extends PageController { static validateFileType ({ originalname }) { const allowedFiletypes = [ 'csv', + 'xls', + 'xlsx', 'json', 'geojson', 'gml',