Skip to content

Commit

Permalink
Fix cookie issue when doing server rendering (kriasoft#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
burmecia authored and koistya committed Apr 27, 2017
1 parent 1ed83b6 commit 9b3d9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ app.get('*', async (req, res, next) => {
// Universal HTTP client
fetch: createFetch({
baseUrl: config.api.serverUrl,
cookie: req.cookie,
cookie: req.headers.cookie,
}),
};

Expand Down

0 comments on commit 9b3d9c8

Please sign in to comment.