From d6227fb64fd84011899f49c81343a7668472d3ec Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 7 Jul 2015 17:39:34 -0600 Subject: [PATCH] update example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7697a46..121679d 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ module.exports = app; var http = require('http'); var server = http.createServer(); -var securePort = 8443; -var insecurePort = process.argv[2] || 8080; +var securePort = process.argv[2] || 8443; +var insecurePort = process.argv[3] || 8080; server.on('request', require('redirect-https')({ port: securePort