Skip to content

Commit 52aa3e4

Browse files
committed
should not close before
1 parent 64b2cbe commit 52aa3e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/middleware.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ export default function wrapper(context) {
122122
if (req.method === 'HEAD') {
123123
res.end();
124124
} else {
125-
stream.on('end', () => res.end());
126125
stream.pipe(res);
127126
}
128127
}

0 commit comments

Comments
 (0)