Corrected setHeader

This commit is contained in:
Thomas FORGIONE 2015-10-06 08:38:09 +02:00
parent ab3ca50f76
commit 2d02cc177d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module.exports.index = function(req, res) {
// If not micro-worker
if (req.session.workerId === undefined) {
res.setHead('Content-Type', 'text/html');
res.setHeader('Content-Type', 'text/html');
res.render('normal.jade', res.locals, function(err, result) {
res.send(result);