ngx-filesaver
ngx-filesaver copied to clipboard
Save file without extension
I tried to download files without extension using the service but it is appending .txt extension automatically. I also tried to download files with .cred extension but when download starts it showing .txt extension.
File download without extenstion
this.fileSaverService.save(file, 'credentials');
File download with extenstion
this.fileSaverService.save(file, 'credentials', 'cred');
I also tried passing type in a blob but still, the file is saving with .txt extension.
Dose she thing happen in other browser? We do not add any extension.
- https://github.com/eligrey/FileSaver.js/issues/597