forked from root/acme.js
bugfix missing prop
This commit is contained in:
parent
1f2169c78c
commit
f363f5ef02
|
@ -3,6 +3,7 @@
|
||||||
var native = module.exports;
|
var native = module.exports;
|
||||||
|
|
||||||
native._canCheck = function(me) {
|
native._canCheck = function(me) {
|
||||||
|
me._canCheck = {};
|
||||||
return me
|
return me
|
||||||
.request({ url: me._baseUrl + '/api/_acme_api_/' })
|
.request({ url: me._baseUrl + '/api/_acme_api_/' })
|
||||||
.then(function(resp) {
|
.then(function(resp) {
|
||||||
|
|
|
@ -5,6 +5,7 @@ var promisify = require('util').promisify;
|
||||||
var resolveTxt = promisify(require('dns').resolveTxt);
|
var resolveTxt = promisify(require('dns').resolveTxt);
|
||||||
|
|
||||||
native._canCheck = function(me) {
|
native._canCheck = function(me) {
|
||||||
|
me._canCheck = {};
|
||||||
me._canCheck['http-01'] = true;
|
me._canCheck['http-01'] = true;
|
||||||
me._canCheck['dns-01'] = true;
|
me._canCheck['dns-01'] = true;
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
|
|
Loading…
Reference in New Issue