Unverified Commit fad32560 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

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

parent 9c8d0465
...@@ -154,9 +154,10 @@ module.exports = { ...@@ -154,9 +154,10 @@ module.exports = {
destination: '/another', // automatically becomes /docs/another 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', source: '/without-basePath',
destination: '/another', destination: 'https://example.com',
basePath: false, basePath: false,
}, },
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment