Skip to content

Commit 7a29a22

Browse files
author
kgdev
committed
use res.send instead of res.end to enable etag.
use res.send instead of res.end to enable etag.
1 parent 0901030 commit 7a29a22

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
@@ -155,7 +155,7 @@ module.exports = function(compiler, options) {
155155
res.setHeader(name, options.headers[name]);
156156
}
157157
}
158-
res.end(content);
158+
res.send(content);
159159
}, req);
160160
}
161161

0 commit comments

Comments
 (0)