2
0
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:
AJ ONeal 2018-05-11 21:01:13 -06:00
parent 220f7e84d0
commit 2336bfa28c

View File

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