Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit daa732d

Browse files
committed
Use url for history.
Closes #308
1 parent e874dbe commit daa732d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const HTML = ({ content, store }) => (
3636
)
3737

3838
app.use(function (req, res) {
39-
const memoryHistory = createMemoryHistory(req.path)
39+
const memoryHistory = createMemoryHistory(req.url)
4040
const store = configureStore(memoryHistory)
4141
const history = syncHistoryWithStore(memoryHistory, store)
4242

0 commit comments

Comments
 (0)