From ca5305609c6ede3d4e51d3627a9c520b40bfeb42 Mon Sep 17 00:00:00 2001 From: Robert Herhold Date: Fri, 10 Jun 2016 13:14:24 -0400 Subject: [PATCH] Use koa-sslify over koa-force-ssl --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f71b87b..6f15262 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ var http = require('http'); var https = require('spdy'); var koa = require('koa'); var app = koa(); -var redirectHttps = koa().use(require('koa-force-ssl').callback(); +var redirectHttps = koa().use(require('koa-sslify')()).callback(); app.use(function *() { this.body = 'Hello World';