Corrected setHeader
This commit is contained in:
		
							parent
							
								
									ab3ca50f76
								
							
						
					
					
						commit
						2d02cc177d
					
				| @ -6,7 +6,7 @@ module.exports.index = function(req, res) { | |||||||
|     // If not micro-worker
 |     // If not micro-worker
 | ||||||
|     if (req.session.workerId === undefined) { |     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.render('normal.jade', res.locals, function(err, result) { | ||||||
|             res.send(result); |             res.send(result); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user