syntax fix
This commit is contained in:
parent
220f7e84d0
commit
2336bfa28c
|
@ -129,7 +129,6 @@ var greenlock = Greenlock.create({
|
||||||
// CREATE SERVERS //
|
// CREATE SERVERS //
|
||||||
////////////////////
|
////////////////////
|
||||||
|
|
||||||
```js
|
|
||||||
var redir = require('redirect-https')();
|
var redir = require('redirect-https')();
|
||||||
require('http').createServer(greenlock.middleware(redir)).listen(80);
|
require('http').createServer(greenlock.middleware(redir)).listen(80);
|
||||||
|
|
||||||
|
@ -209,7 +208,6 @@ function approveDomains(opts, certs, cb) {
|
||||||
// CREATE SERVERS //
|
// CREATE SERVERS //
|
||||||
////////////////////
|
////////////////////
|
||||||
|
|
||||||
```js
|
|
||||||
var redir = require('redirect-https')();
|
var redir = require('redirect-https')();
|
||||||
require('http').createServer(greenlock.middleware(redir)).listen(80);
|
require('http').createServer(greenlock.middleware(redir)).listen(80);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue