1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

perf(MySQL): improved several field types support on exporter

This commit is contained in:
2022-02-19 12:40:54 +01:00
parent 748d44977e
commit 1990d9a3d4
5 changed files with 56 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ export function mimeFromHex (hex) {
case '425A68':
return { ext: 'bz2', mime: 'application/x-bzip2' };
default:
switch (hex) { // 4 bites
switch (hex) { // 4 bytes
case '89504E47':
return { ext: 'png', mime: 'image/png' };
case '47494638':