mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-04-11 01:50:39 +00:00
Update README.md
This commit is contained in:
parent
c14077c099
commit
103e4ae419
10
README.md
10
README.md
@ -115,7 +115,12 @@ var lex = require('letsencrypt-express').create({
|
|||||||
//, store: require('le-store-certbot').create({})
|
//, store: require('le-store-certbot').create({})
|
||||||
//, sni: require('le-sni-auto').create({})
|
//, sni: require('le-sni-auto').create({})
|
||||||
|
|
||||||
, approveDomains: function (opts, certs, cb) {
|
, approveDomains: approveDomains
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
function approveDomains(opts, certs, cb) {
|
||||||
// This is where you check your database and associated
|
// This is where you check your database and associated
|
||||||
// email addresses with domains and agreements and such
|
// email addresses with domains and agreements and such
|
||||||
|
|
||||||
@ -131,8 +136,7 @@ var lex = require('letsencrypt-express').create({
|
|||||||
}
|
}
|
||||||
|
|
||||||
cb(null, { options: opts, certs: certs });
|
cb(null, { options: opts, certs: certs });
|
||||||
}
|
}
|
||||||
});
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user