Permalink
Browse files

Changing client config

  • Loading branch information...
1 parent eac475b commit d17e9e1fc094a30bb164c9f4b0606017f268f05d xFontroSF committed Sep 26, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 client.js
View
@@ -1,15 +1,14 @@
var http = require("http");
var req_options = {
- //host: '192.168.7.13',
- //port: '8080',
- host: '127.0.0.1',
+ host: '192.168.7.13',
+ //host: '127.0.0.1',
port: '8080',
method: 'POST',
//path: '/sumar?op1=2&op2=4', //Exemple per a GET.
- path: '/sumar',//path: 'http://aritmeticops-nodetestingsf.rhcloud.com/sumar', //Exemple per a POST.
+ path: 'http://aritmeticops-nodetestingsf.rhcloud.com/sumar', //Exemple per a POST.
headers: {
- //Host: "aritmeticops-nodetestingsf.rhcloud.com"
+ Host: "aritmeticops-nodetestingsf.rhcloud.com"
}
};

0 comments on commit d17e9e1

Please sign in to comment.