We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2778b57 + f0232ff commit 12e775aCopy full SHA for 12e775a
start.js
@@ -2,10 +2,10 @@ var argv = require('optimist').argv;
2
var servers = require('./lib/coinpunk/server');
3
4
if(argv.httpPort)
5
- server.config.httpPort = argv.httpPort;
+ servers.config.httpPort = argv.httpPort;
6
7
if(argv.httpsPort)
8
- server.config.httpsPort = argv.httpsPort;
+ servers.config.httpsPort = argv.httpsPort;
9
10
console.log("Coinpunk and his rude boys have taken the stage");
11
@@ -20,4 +20,4 @@ domain.run(function() {
20
21
if(servers.httpServer)
22
servers.httpServer.listen(servers.config.httpPort || argv.p || 80);
23
-});
+});
0 commit comments