Skip to content

Commit c91072e

Browse files
committed
1 parent 2bca4b4 commit c91072e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/beginner.pdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ the file 'hello_http.js' and put the following code into it:
103103
var http = require('http');
104104

105105
var server = http.createServer(function(req, res) {
106-
  res.sendHead(200);
106+
  res.writeHead(200);
107107
  res.end('Hello Http');
108108
});
109109
server.listen(8080);

0 commit comments

Comments
 (0)