Update README.md
This commit is contained in:
parent
e7f176ff17
commit
5f5b00f28b
|
@ -56,7 +56,7 @@ letsencrypt certonly --standalone \
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var http = require('http');
|
var http = require('http');
|
||||||
var https = require('spdy'); // Note: some have reported trouble with `http2` and success with `spdy`
|
var https = require('spdy');
|
||||||
var koa = require('koa');
|
var koa = require('koa');
|
||||||
var app = koa();
|
var app = koa();
|
||||||
var redirectHttps = koa().use(require('koa-force-ssl').callback();
|
var redirectHttps = koa().use(require('koa-force-ssl').callback();
|
||||||
|
|
Loading…
Reference in New Issue