manually specify encoding
This commit is contained in:
parent
78c9daa059
commit
c92a9f1864
|
@ -17,6 +17,7 @@ module.exports.create = function (deps) {
|
||||||
// TODO check response header on request for cache time
|
// TODO check response header on request for cache time
|
||||||
return request({
|
return request({
|
||||||
url: acmeDiscoveryUrl
|
url: acmeDiscoveryUrl
|
||||||
|
, encoding: 'utf8'
|
||||||
}, function (err, resp) {
|
}, function (err, resp) {
|
||||||
if (err) {
|
if (err) {
|
||||||
cb(err);
|
cb(err);
|
||||||
|
|
Loading…
Reference in New Issue