mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-04 10:30:50 +00:00
Merge pull request #132 from EETagent/windows_zip_fix
(frontend) allow all zip & pdf
This commit is contained in:
commit
1e068f5672
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
const FileDropOptions: FileDropOptions = {
|
const FileDropOptions: FileDropOptions = {
|
||||||
accept: filetype === 'PDF' ? 'application/pdf' : 'application/zip',
|
accept: filetype === 'PDF' ? '.pdf' : '.zip',
|
||||||
maxSize: filesize * 1_000_000,
|
maxSize: filesize * 1_000_000,
|
||||||
multiple: false,
|
multiple: false,
|
||||||
windowDrop: false
|
windowDrop: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue