Permalink
Browse files

Don't call send twice - use the htmlized version.

  • Loading branch information...
1 parent dcf97ab commit c36df500a77daa5f7a76cad3a3b5003327a1263b Ram Ranganathan committed Mar 10, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 server.js
View
@@ -113,7 +113,6 @@ var SampleApp = function() {
content += ' ' + k + ': ' + process.env[k] + '\n';
}
content += '}\n</pre><br/>\n'
- res.send(content);
res.send('<html>\n' +
' <head><title>Node.js Process Env</title></head>\n' +
' <body>\n<br/>\n' + content + '</body>\n</html>');

0 comments on commit c36df50

Please sign in to comment.