From 95ac361406dac4d657604e5a472af07820c1604e Mon Sep 17 00:00:00 2001 From: monicatie Date: Fri, 8 Sep 2017 10:17:49 -0700 Subject: [PATCH] Add english as the default document language as a start. (#944) Add english as the default document language --- packages/react-server/core/renderMiddleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-server/core/renderMiddleware.js b/packages/react-server/core/renderMiddleware.js index 8d8a51d39..9d7b1fd5a 100644 --- a/packages/react-server/core/renderMiddleware.js +++ b/packages/react-server/core/renderMiddleware.js @@ -307,7 +307,7 @@ function writeHeader(req, res, context, start, pageObject) { res.type('html'); res.set('Transfer-Encoding', 'chunked'); - res.write(""); + res.write(''); // note: these responses can currently come back out-of-order, as many are returning // promises. scripts and stylesheets are guaranteed