@samitouri / QOS-React-2 / commits / 241485a2c4

[SSR2 Fixture] Delete duplicate DOCTYPE (#21824)

Shannon Feng committed Jul 8, 2021 at 10:11 UTC 241485a2c4db75f42baf62c68f54e7cdef101c31
1 file changed -1
fixtures/ssr2/server/render.js
-1
@@ -47,7 +47,6 @@ module.exports = function render(url, res) {
47 // If something errored before we started streaming, we set the error code appropriately.
48 res.statusCode = didError ? 500 : 200;
49 res.setHeader('Content-type', 'text/html');
50 - res.write('<!DOCTYPE html>');
50 startWriting();
51 },
52 onError(x) {