Permalink
Browse files

Executable doesn't affect .PORT, it uses JSBIN_PORT

  • Loading branch information...
1 parent 3d6eb3d commit 0daaf30425352cdffd728acff0f685f87ec96500 @remy remy committed Jul 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/jsbin
View
@@ -15,7 +15,7 @@ cmd.version(require('../package.json').version);
cmd.option('-p --port <port>', 'port to run on', function (port) {
port = parseInt(port, 10);
if (port) {
- process.env.PORT = port;
+ process.env.JSBIN_PORT = port;
} else {
error('-p port must be numeric');
}

0 comments on commit 0daaf30

Please sign in to comment.