Skip to content

Commit 5092585

Browse files
committed
Merge pull request #27 from kgdev/patch-1
use res.send instead of res.end to enable etag.
2 parents 0afbe7e + 7a29a22 commit 5092585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ module.exports = function(compiler, options) {
175175
res.setHeader(name, options.headers[name]);
176176
}
177177
}
178-
res.end(content);
178+
res.send(content);
179179
}, req);
180180
}
181181

0 commit comments

Comments
 (0)