mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-20 15:01:19 +00:00
fix: allow all .zip and .pdf
This commit is contained in:
parent
7436e272b0
commit
b163d04d09
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@
|
|||
};
|
||||
|
||||
const FileDropOptions: FileDropOptions = {
|
||||
accept: filetype === 'PDF' ? 'application/pdf' : 'application/zip',
|
||||
accept: filetype === 'PDF' ? '.pdf' : '.zip',
|
||||
maxSize: filesize * 1_000_000,
|
||||
multiple: false,
|
||||
windowDrop: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue