Skip to content

Commit

Permalink
fix review issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LavrovArtem committed Jun 13, 2018
1 parent a9f185c commit f7351b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/request-pipeline/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const stages = {
});

if (ctx.contentInfo.isNotModified)
ctx.res.end('');
ctx.res.end();
else
ctx.destRes.pipe(ctx.res);

Expand All @@ -121,7 +121,7 @@ const stages = {
}
}
else
ctx.res.end('');
ctx.res.end();

return;
}
Expand Down

0 comments on commit f7351b1

Please sign in to comment.