Skip to content

Commit

Permalink
Updated alias
Browse files Browse the repository at this point in the history
The expression in alias `(+*)` is invalid and a correct working method would be `(.*)`
  • Loading branch information
markbattistella authored Feb 14, 2021
1 parent 065cdd4 commit 64ff80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ Set the route alias. You can freely manage routing rules. Supports RegExp.
```js
window.$docsify = {
alias: {
'/foo/(+*)': '/bar/$1', // supports regexp
'/foo/(.*)': '/bar/$1', // supports regexp
'/zh-cn/changelog': '/changelog',
'/changelog':
'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG',
Expand Down

0 comments on commit 64ff80a

Please sign in to comment.