using real hostname, not mock one
authorDominqique Hazael-Massieux <dom@w3.org>
Sat, 03 Sep 2011 00:01:09 +0200
changeset 229 92024d860700
parent 228 5112ffbb70c6
child 230 8ba4fc0c08e6
using real hostname, not mock one
node.js/twitter.js
--- a/node.js/twitter.js	Sat Sep 03 00:00:41 2011 +0200
+++ b/node.js/twitter.js	Sat Sep 03 00:01:09 2011 +0200
@@ -75,8 +75,8 @@
     }
     var stream = https.request(
 	{
-	    //host: 'stream.twitter.com'
-	    host: 'localhost', port: 3030
+	    host: 'stream.twitter.com'
+	    //host: 'localhost', port: 3030
 	 , path:'/1/statuses/filter.json', 'method': 'POST'}, 
 	function (res) {
 	    res.setEncoding('utf8');