Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding logs

  • Loading branch information...
commit 582a25657792215ac92d63301ce71e53e7344c4b 1 parent 1119c35
xFontroSF authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  server.js
View
3  server.js
@@ -23,9 +23,10 @@ function start(route, handle) {
function(){
var dataObj = JSON.parse(data);
+ console.log("Segons el servidor: Vull sumar "+op1+" i "+op2);
op1 = parseInt(dataObj.op1);
op2 = parseInt(dataObj.op2);
- console.log("Request for " + pathname + " received.");
+ console.log("Request for " + pathname + " received. With operands "+op1+" and "+op2);
});
} else if(request.method === 'GET'){
Please sign in to comment.
Something went wrong with that request. Please try again.