This commit is contained in:
Maxime Cannoodt 2022-07-04 20:22:06 +02:00
parent a8289baca5
commit 6de41f9947

View File

@ -57,6 +57,7 @@
const BOM = new Uint8Array([0xef, 0xbb, 0xbf]);
const blob = new Blob([BOM, text], { type: 'text/plain' });
const url = window.URL.createObjectURL(blob);
console.log(url);
return url;
}