improve README

This commit is contained in:
Philipp Kunz 2016-07-22 02:12:49 +02:00
parent 159ffe0728
commit afddfe5217

View File

@ -16,9 +16,11 @@ let myCert = new Cert({
gitOriginRepo: "git@githhub.com/someuser/somereopo" // good for persistence in highly volatile environments like docker gitOriginRepo: "git@githhub.com/someuser/somereopo" // good for persistence in highly volatile environments like docker
}); });
myCert.getDomainCert("example.com"); myCert.getDomainCert("example.com"); // returns promise
``` ```
> **Note:** cert supports async parallel cert fetching. If called twice for the same domain, only the first one will trigger.
## sslDir ## sslDir
to use the certificates it is important to understand what the structure of the ssl directory looks like. to use the certificates it is important to understand what the structure of the ssl directory looks like.