This commit is contained in:
Lachlan Kermode
2020-06-10 18:37:44 +02:00
parent dd679f8943
commit 148be7ac97

View File

@@ -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