8000 added spark demo · DrMark/node-http-proxy@d408e39 · GitHub
[go: up one dir, main page]

Skip to content

Commit d408e39

Browse files
committed
added spark demo
1 parent 9aa2216 commit d408e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ sys.puts('http proxy server '.blue + 'started '.green.bold + 'on port '.blue + '
6060
// create regular http server
6161
http.createServer(function (req, res){
6262
res.writeHead(200, {'Content-Type': 'text/plain'});
63-
res.write('request successfully proxied!' + '\n' + JSON.stringify(req.headers, true, 2));
63+
res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
6464
res.end();
6565
}).listen(9000);
6666
sys.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

0 commit comments

Comments
 (0)
0