From 148be7ac97de0d557cce78e2b4a829e2f2727000 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Wed, 10 Jun 2020 18:37:44 +0200 Subject: [PATCH] add jpeg --- src/common/utilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utilities.js b/src/common/utilities.js index d32e343..a868dd5 100644 --- a/src/common/utilities.js +++ b/src/common/utilities.js @@ -140,7 +140,7 @@ export function typeForPath (path) { let type path = path.trim() switch (true) { - case /\.((png)|(jpg))$/.test(path): + case /\.((png)|(jpg)|(jpeg))$/.test(path): type = 'Image'; break case /\.(mp4)$/.test(path): type = 'Video'; break