fix: drag'n'drop ignore file extension case
This commit is contained in:
parent
6c0f8e70d8
commit
85cabf536c
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@ const getFiles = async () => {
|
|||
// Exit if a file isn't supported in the list
|
||||
if (
|
||||
files.filter((file) =>
|
||||
allowedExtensions.some((ext) => file.endsWith(ext))
|
||||
allowedExtensions.some((ext) =>
|
||||
file.toLowerCase().endsWith(ext.toLowerCase())
|
||||
)
|
||||
).length !== files.length
|
||||
) {
|
||||
await internals.exit();
|
||||
|
|
Loading…
Reference in a new issue