Skip to content

Commit 12e775a

Browse files
author
Ryan Casey
committed
Merge branch 'servers-config-httpPort-fix'
2 parents 2778b57 + f0232ff commit 12e775a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

start.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ var argv = require('optimist').argv;
22
var servers = require('./lib/coinpunk/server');
33

44
if(argv.httpPort)
5-
server.config.httpPort = argv.httpPort;
5+
servers.config.httpPort = argv.httpPort;
66

77
if(argv.httpsPort)
8-
server.config.httpsPort = argv.httpsPort;
8+
servers.config.httpsPort = argv.httpsPort;
99

1010
console.log("Coinpunk and his rude boys have taken the stage");
1111

@@ -20,4 +20,4 @@ domain.run(function() {
2020

2121
if(servers.httpServer)
2222
servers.httpServer.listen(servers.config.httpPort || argv.p || 80);
23-
});
23+
});

0 commit comments

Comments
 (0)