Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed May 25, 2020
1 parent e7495d8 commit 528c412
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const datahubConfig = {
hub: 'project_name',
port: 8080,
hostname: 'localhost',
// see more details: https://github.com/pillarjs/path-to-regexp
pathOptions: {
start: true
}
Expand All @@ -58,6 +57,8 @@ const datahubConfig = {
datahubMiddleware(app)(datahubConfig);
```

*notice* version 6 has a break change that needs special attention, see [more details](https://github.com/pillarjs/path-to-regexp).

## Use with webpack-dev-server

[live demo](//github.com/macaca-sample/webpack-datahub-sample)
Expand Down

0 comments on commit 528c412

Please sign in to comment.