Skip to content

Commit

Permalink
[fix] Use ip.address() as the default host. Fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Feb 16, 2013
1 parent ecda2a0 commit 42a87b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/godot/producer/producer.js
Expand Up @@ -6,6 +6,7 @@
*/

var stream = require('stream'),
ip = require('ip'),
utile = require('utile'),
uuid = require('node-uuid');

Expand Down Expand Up @@ -58,6 +59,7 @@ utile.inherits(Producer, stream.Stream);
// emitted by this instance.
//
Producer.prototype.defaults = {
host: ip.address(),
state: 'ok',
description: 'No description',
tags: [],
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -14,6 +14,7 @@
"url": "https://github.com/nodejitsu/godot.git"
},
"dependencies": {
"ip": "0.0.x",
"node-uuid": "1.4.0",
"sendgrid-web": "0.0.2",
"telenode": "0.0.3",
Expand Down

0 comments on commit 42a87b6

Please sign in to comment.