Permalink
Browse files

added some changes for nodejitsu

  • Loading branch information...
1 parent 06b35b4 commit 7bc766df48fb4d80341a19859c98c1200c0a0657 @coleGillespie coleGillespie committed Jul 18, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 app.js
  2. +2 −2 package.json
View
4 app.js
@@ -51,7 +51,7 @@ http.createServer(function (req, res) {
likes : Number(parsed.link_stat.like_count)
};
shareObj.facebook = fbShares;
- console.log(JSON.stringify(shareObj));
+ shareObj.total = shareObj.googlePlus.count + shareObj.twitter.count + shareObj.facebook.shares + shareObj.facebook.likes;
res.end(JSON.stringify(shareObj));
}
}); // end simplexml.parse
@@ -134,6 +134,6 @@ http.createServer(function (req, res) {
}
-}).listen(1337, '127.0.0.1');
+}).listen(1337, '0.0.0.0');
console.log('Server started...');
View
@@ -4,7 +4,7 @@
"scripts": {
"start": "app.js"
},
- "version": "0.1.0",
+ "version": "0.1.0-7",
"engines": {
"node": "0.6.x"
},
@@ -14,4 +14,4 @@
"jsdom": "0.2.x",
"xml-simple": "0.0.x"
}
-}
+}

0 comments on commit 7bc766d

Please sign in to comment.