update example

This commit is contained in:
AJ ONeal 2015-07-07 17:39:34 -06:00
parent ade915a1fd
commit d6227fb64f
1 changed files with 2 additions and 2 deletions

View File

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