cope with CAPITALIZED file suffix
This commit is contained in:
parent
d111bbf067
commit
a0ba46caf4
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue