mirror of
https://github.com/therootcompany/greenlock.js.git
synced 2025-03-06 00:30:41 +00:00
syntax fix
This commit is contained in:
parent
220f7e84d0
commit
2336bfa28c
@ -129,7 +129,6 @@ var greenlock = Greenlock.create({
|
||||
// CREATE SERVERS //
|
||||
////////////////////
|
||||
|
||||
```js
|
||||
var redir = require('redirect-https')();
|
||||
require('http').createServer(greenlock.middleware(redir)).listen(80);
|
||||
|
||||
@ -209,7 +208,6 @@ function approveDomains(opts, certs, cb) {
|
||||
// CREATE SERVERS //
|
||||
////////////////////
|
||||
|
||||
```js
|
||||
var redir = require('redirect-https')();
|
||||
require('http').createServer(greenlock.middleware(redir)).listen(80);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user