From 595de158eede559661f5b6a49263ca134da7f1e9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 6 Jun 2019 06:53:05 +0000 Subject: [PATCH] more http-01 => dns-01 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0eefcf1..a017ce8 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ tester set: function(opts) { var ch = opts.challenge; - // { type: 'http-01' // or 'dns-01' + // { type: 'dns-01' // or 'http-01' // , identifier: { type: 'dns', value: 'example.com' } // , wildcard: false // , token: 'xxxx' @@ -127,7 +127,7 @@ tester get: function(query) { var ch = query.challenge; - // { type: 'http-01' // or 'dns-01', 'tls-alpn-01', etc + // { type: 'dns-01' // or 'http-01', 'tls-alpn-01', etc // , identifier: { type: 'dns', value: 'example.com' } // // http-01 only // , token: 'xxxx' @@ -142,9 +142,9 @@ tester host: ch.dnsHost }).then(function(secret) { // http-01 - return { keyAuthorization: secret }; + //return { keyAuthorization: secret }; // dns-01 - //return { dnsAuthorization: secret }; + return { dnsAuthorization: secret }; }); },