Base64 Data
fabioloreggian opened this issue · 1 comments
fabioloreggian commented
I try and send through base64 data and it just creates a file with the data as text.
Any help or advice?
fabioloreggian commented
const buf = Buffer.from(data, 'base64'); fileDownload(buf, document.name, mime[1]);