Skip to content

Commit 6c13bdb

Browse files
docs: Updated alias (#1511)
The expression in alias `(+*)` is invalid and a correct working method would be `(.*)`
1 parent 065cdd4 commit 6c13bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Set the route alias. You can freely manage routing rules. Supports RegExp.
354354
```js
355355
window.$docsify = {
356356
alias: {
357-
'/foo/(+*)': '/bar/$1', // supports regexp
357+
'/foo/(.*)': '/bar/$1', // supports regexp
358358
'/zh-cn/changelog': '/changelog',
359359
'/changelog':
360360
'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG',

0 commit comments

Comments
 (0)