From d54236748be60c437c54d0a29f48a1fb6d05001e Mon Sep 17 00:00:00 2001 From: Govinda Prakash Date: Sat, 31 Dec 2016 11:44:40 +0530 Subject: [PATCH] added port number to socket connection call When i run test script, i got nothing in console. When opened the node server page in browser, I had errors in chrome console about cross origin request blocked. After adding port number to the code, it worked fine. --- node-phantom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-phantom.js b/node-phantom.js index 8d8f31d..7c465d7 100644 --- a/node-phantom.js +++ b/node-phantom.js @@ -48,7 +48,7 @@ module.exports={ response.writeHead(200,{"Content-Type": "text/html"}); response.end('