Skip to content

Commit

Permalink
Use PORT ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Mar 2, 2015
1 parent 9f98c9d commit 739e670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
var ip = process.env.OPENSHIFT_NODEJS_IP || '0.0.0.0';
var port = process.env.OPENSHIFT_NODEJS_PORT || 8080;
var port = process.env.PORT || 8080;
require('./lib/app').init(ip, port);

0 comments on commit 739e670

Please sign in to comment.