We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d0cd2a + 0ea44c7 commit 6767ed2Copy full SHA for 6767ed2
docs/guides/server-rendering.md
@@ -19,8 +19,8 @@ var routes = (
19
20
// if using express it might look like this
21
app.use(function (req, res) {
22
- // pass in `req.path` and the router will immediately match
23
- Router.run(routes, req.path, function (Handler) {
+ // pass in `req.url` and the router will immediately match
+ Router.run(routes, req.url, function (Handler) {
24
var content = React.renderToString(<Handler/>);
25
res.render('main', {content: content});
26
});
0 commit comments