cope with CAPITALIZED file suffix

This commit is contained in:
schlagmichdoch 2023-02-08 13:38:53 +01:00
parent d111bbf067
commit a0ba46caf4

View file

@ -81,7 +81,7 @@ const mime = (() => {
getMimeByFilename(filename) {
try {
const arr = filename.split('.');
const suffix = arr[arr.length - 1];
const suffix = arr[arr.length - 1].toLowerCase();
return {
"cpl": "application/cpl+xml",
"gpx": "application/gpx+xml",