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.
2 parents aae6306 + 21d0e11 commit b2faf4fCopy full SHA for b2faf4f
src/templates/core/functions/base64.hbs
@@ -2,6 +2,7 @@ function base64(str: string): string {
2
try {
3
return btoa(str);
4
} catch (err) {
5
+ // @ts-ignore
6
return Buffer.from(str).toString('base64');
7
}
8
0 commit comments