diff --git a/controllers/thankyou/index.js b/controllers/thankyou/index.js index ea532b4..30bd7e6 100644 --- a/controllers/thankyou/index.js +++ b/controllers/thankyou/index.js @@ -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);