Skip to content

Commit

Permalink
Add english as the default document language as a start. (#944)
Browse files Browse the repository at this point in the history
Add english as the default document language
  • Loading branch information
monicatie authored and gigabo committed Sep 8, 2017
1 parent a061e82 commit 95ac361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server/core/renderMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function writeHeader(req, res, context, start, pageObject) {
res.type('html');
res.set('Transfer-Encoding', 'chunked');

res.write("<!DOCTYPE html><html><head>");
res.write('<!DOCTYPE html><html lang="en"><head>');

// note: these responses can currently come back out-of-order, as many are returning
// promises. scripts and stylesheets are guaranteed
Expand Down

0 comments on commit 95ac361

Please sign in to comment.