Comparing version 0.5.0 to 0.5.1
@@ -57,3 +57,3 @@ 'use strict'; | ||
sentData = true; | ||
if (!res.get('Content-Type')) { | ||
if (!res.get('Content-Type') && !res.headersSent) { | ||
res.type('html'); | ||
@@ -60,0 +60,0 @@ } |
{ | ||
"name": "yog-view", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "An express.js middleware for optimizing the order of js\\css output, and enabling render template in bigpipe mode.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
23750