removing redirects
This commit is contained in:
parent
6be5005576
commit
814a581425
2 changed files with 1 additions and 22 deletions
|
|
@ -142,18 +142,4 @@ const config = {
|
|||
}),
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
...config,
|
||||
plugins: [
|
||||
[
|
||||
"@docusaurus/plugin-client-redirects",
|
||||
{
|
||||
createRedirects: (path) => {
|
||||
if (path.startsWith("/docs")) {
|
||||
return [path.replace("/docs", "/docs/intro")];
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
module.exports = config;
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
[[redirects]]
|
||||
from = "/"
|
||||
to = "/docs/intro"
|
||||
|
||||
[[redirects]]
|
||||
from = "/docs"
|
||||
to = "/docs/intro"
|
||||
Loading…
Add table
Reference in a new issue