Not using the deprecated / broken api (assuming that it was working before)
Este cometimento está contido em:
ascendente
65407a29d0
cometimento
0bfb5bd0c8
2
index.js
2
index.js
|
@ -2,7 +2,7 @@
|
|||
"use strict";
|
||||
|
||||
function atob(str) {
|
||||
return new Buffer(str, 'base64').toString('utf8');
|
||||
return new Buffer(str).toString('base64');
|
||||
}
|
||||
|
||||
module.exports = atob;
|
||||
|
|
Carregando…
Criar uma nova questão referindo esta