Skip to content

Commit

Permalink
[SSR2 Fixture] Delete duplicate DOCTYPE (#21824)
Browse files Browse the repository at this point in the history
  • Loading branch information
taichiyi authored Jul 8, 2021
1 parent 8b34d5a commit 241485a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fixtures/ssr2/server/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ module.exports = function render(url, res) {
// If something errored before we started streaming, we set the error code appropriately.
res.statusCode = didError ? 500 : 200;
res.setHeader('Content-type', 'text/html');
res.write('<!DOCTYPE html>');
startWriting();
},
onError(x) {
Expand Down

0 comments on commit 241485a

Please sign in to comment.