mirror of
https://github.com/therootcompany/acme.js
synced 2025-04-16 12:40:41 +00:00
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…
x
Reference in New Issue
Block a user