Skip to content

Commit e9e5178

Browse files
committed
Merge pull request #12 from estebistec/patch-1
Update labs/HTTP.md
2 parents 9f9fe70 + b55af6e commit e9e5178

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

labs/HTTP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ var server = http.createServer(function (req, res) {
191191
192192
fs.readFile('index.html', function (err, data) {
193193
if (!err) {
194-
res.write(templateEngine(data, {})); // use our template engine here
194+
res.write(templateEngine(data.toString(), {})); // use our template engine here
195195
res.end();
196196
}
197197
});

0 commit comments

Comments
 (0)