Suppress encoding warning in Firefox

This commit is contained in:
Thomas Aylott committed 2013-11-13 16:22:10 -05:00
1 parent 7c8b70eedb
commit 66a0f2e7bd
1 file changed
+1
+1
View File
@@ -16,6 +16,7 @@ module.exports = function(grunt){
function testResultLoggerMiddleware(req, res, next) {
if (!(req.body && req.body.data)) return next();
grunt.log.writeln('[%s][%s]', req.headers['user-agent'], Date.now(), req.body.data);
res.write('<!doctype html><meta charset=utf-8>');
res.end('Got it, thanks!');
}