I’m trying to use allowedFileTypes
to limit my uploads to pngs.
I have the following in my uppy init function
'restrictions: {
allowedFileTypes: [‘image/png’]
},`
~but if I try to upload, say, a zip file, it doesn’t give me any trouble, it just uploads the file as if there was no restriction at all.~
EDIT: I was initializing uppy all wrong. This works fine now.