mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
add jpeg
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user