From 241485a2c4db75f42baf62c68f54e7cdef101c31 Mon Sep 17 00:00:00 2001 From: Shannon Feng Date: Thu, 8 Jul 2021 10:11:42 +0800 Subject: [PATCH] [SSR2 Fixture] Delete duplicate DOCTYPE (#21824) --- fixtures/ssr2/server/render.js | 1 - 1 file changed, 1 deletion(-) diff --git a/fixtures/ssr2/server/render.js b/fixtures/ssr2/server/render.js index e227dae93e82a..fdb545a073a1c 100644 --- a/fixtures/ssr2/server/render.js +++ b/fixtures/ssr2/server/render.js @@ -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(''); startWriting(); }, onError(x) {