From 6c13bdb7bdbcc2de4b36906a5e982092e4456d95 Mon Sep 17 00:00:00 2001 From: Mark Battistella Date: Mon, 15 Feb 2021 12:48:00 +1100 Subject: [PATCH] docs: Updated alias (#1511) The expression in alias `(+*)` is invalid and a correct working method would be `(.*)` --- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 7b3b5fcd..3ea27769 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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',