diff options
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ function handleRequest(request, response){ dispatcher.setStatic('resources'); //A sample GET request -dispatcher.onGet("/stat", function(req, res) { +dispatcher.onGet("/", function(req, res) { res.writeHead(200, {'Content-Type': 'application/json'}); res.end(JSON.stringify(serverstat)); }); |