Open murilobr opened 5 years ago
Fix getFileType function to extract file extension in a signed url.
refs #98
Your change will return "gif" for "filename.jpg?a=1.2.gif". I think the final code would be:
return this.file.name.split(/\#|\?/).shift().split('.').pop().toLowerCase();
Fix getFileType function to extract file extension in a signed url.
refs #98