Skip to content

Commit a08dab8

Browse files
taichiyizhengjitf
authored andcommitted
[SSR2 Fixture] Delete duplicate DOCTYPE (facebook#21824)
1 parent b54daff commit a08dab8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fixtures/ssr2/server/render.js

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ module.exports = function render(url, res) {
4747
// If something errored before we started streaming, we set the error code appropriately.
4848
res.statusCode = didError ? 500 : 200;
4949
res.setHeader('Content-type', 'text/html');
50-
res.write('<!DOCTYPE html>');
5150
startWriting();
5251
},
5352
onError(x) {

0 commit comments

Comments
 (0)