syntax fix

This commit is contained in:
AJ ONeal 2018-05-11 21:01:13 -06:00
parent 220f7e84d0
commit 2336bfa28c
1 changed files with 0 additions and 2 deletions

View File

@ -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);