Open Libu-Mathew opened 8 years ago
Not getting mime type of JSON file. I just use the below code to print the file details
this.uploader.onAfterAddingFile = (item => { console.log(item) });
I only want to allow excel, csv & json files in the uploader. So i just set 'allowedMimeType'
public uploader:FileUploader = new FileUploader({ url: apiEmailUploaderUrl, allowedMimeType: [ 'text/csv', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/octet-stream', 'application/json', 'text/json', 'text/x-json', 'text/javascript' ], queueLimit: 5 });
But when i upload json file , due to type='' uploader blocking the request. Please help me.
any update for this topic?
Not getting mime type of JSON file. I just use the below code to print the file details
I only want to allow excel, csv & json files in the uploader. So i just set 'allowedMimeType'
But when i upload json file , due to type='' uploader blocking the request. Please help me.