Skip to content

Commit

Permalink
Remove hardcoded IP
Browse files Browse the repository at this point in the history
  • Loading branch information
glennjones committed Jul 15, 2015
1 parent 15104b5 commit 7884ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -5,7 +5,7 @@ var Hapi = require('hapi');
var server = new Hapi.Server();

server.connection({
host: (process.env.PORT)? '0.0.0.0' : '192.168.0.3',
host: (process.env.PORT)? '0.0.0.0' : 'localhost',
port: parseInt(process.env.PORT, 10) || 3000
});

Expand Down

0 comments on commit 7884ebe

Please sign in to comment.