Skip to content

Commit

Permalink
Merge pull request #244 from calvinl/master
Browse files Browse the repository at this point in the history
Only send request cookie rather than full headers
  • Loading branch information
Sashko Stubailo authored Jun 20, 2017
2 parents 119224a + 697afeb commit 2368e74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react-docs/source/server-side-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ app.use((req, res) => {
uri: 'http://localhost:3010',
opts: {
credentials: 'same-origin',
// transfer request headers to networkInterface so that they're accessible to proxy server
// Addresses this issue: https://github.com/matthew-andrews/isomorphic-fetch/issues/83
headers: req.headers,
headers: {
cookie: req.header('Cookie'),
},
},
}),
});
Expand Down

0 comments on commit 2368e74

Please sign in to comment.