未验证 提交 fad32560 编写于 作者: J JJ Kasper 提交者: GitHub

Update docs for `basePath: false` rewrite (#20663)

上级 9c8d0465
......@@ -154,9 +154,10 @@ module.exports = {
destination: '/another', // automatically becomes /docs/another
},
{
// does not add /docs since basePath: false is set
// does not add /docs to /without-basePath since basePath: false is set
// Note: this can not be used for internal rewrites e.g. `destination: '/another'`
source: '/without-basePath',
destination: '/another',
destination: 'https://example.com',
basePath: false,
},
]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册