We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0d299 commit 0f61065Copy full SHA for 0f61065
scripts/src/lib/template/utils.ts
@@ -1,5 +1,5 @@
1
export function decode64(base64: string): ArrayBufferLike {
2
- var binary_string = window.atob(base64);
+ var binary_string = globalThis.atob(base64);
3
var len = binary_string.length;
4
var bytes = new Uint8Array(len);
5
for (var i = 0; i < len; i++) {
0 commit comments