Merge branch 'release' into staging

This commit is contained in:
Cohee
2023-09-15 15:06:13 +03:00
11 changed files with 10 additions and 319 deletions

View File

@ -6819,7 +6819,6 @@ export function processDroppedFiles(files) {
const allowedMimeTypes = [
'application/json',
'image/png',
'image/webp',
];
for (const file of files) {
@ -6835,7 +6834,7 @@ function importCharacter(file) {
const ext = file.name.match(/\.(\w+)$/);
if (
!ext ||
(ext[1].toLowerCase() != "json" && ext[1].toLowerCase() != "png" && ext[1] != "webp")
(ext[1].toLowerCase() != "json" && ext[1].toLowerCase() != "png")
) {
return;
}