Permalink
Browse files

Fixes issue where host is undefined

  • Loading branch information...
1 parent 6950f52 commit 05ec1486838d81545dde6a99bf61431fbc159983 @LorbusChris LorbusChris committed on GitHub Oct 29, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -47,7 +47,7 @@ var Keystone = function () {
this.set('env', process.env.NODE_ENV || 'development');
this.set('port', process.env.PORT || process.env.OPENSHIFT_NODEJS_PORT || '3000');
- this.set('host', process.env.HOST || process.env.IP || process.env.OPENSHIFT_NODEJS_IP) || '0.0.0.0';
+ this.set('host', process.env.HOST || process.env.IP || process.env.OPENSHIFT_NODEJS_IP || '0.0.0.0');
this.set('listen', process.env.LISTEN);
this.set('ssl', process.env.SSL);

0 comments on commit 05ec148

Please sign in to comment.