Skip to content

Commit 21e7c45

Browse files
Gaurav agarwalGaurav agarwal
authored andcommitted
Remove createRedirects from client-redirects plugin config
Made-with: Cursor
1 parent 11cc390 commit 21e7c45

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

docusaurus.config.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,6 @@ const config = {
9292
from: "/docs/category/Bitcoin",
9393
},
9494
],
95-
// On case-sensitive hosts, also redirect /docs/Examples/bitcoin → /docs/examples/Bitcoin.
96-
// Can't be a static redirect here (macOS build is case-insensitive); handle in nginx if needed.
97-
createRedirects(existingPath) {
98-
// Bitcoin hub: slug /examples/Bitcoin differs from file path Examples/bitcoin
99-
if (existingPath === "/docs/examples/Bitcoin") {
100-
return ["/docs/Examples/bitcoin/index"];
101-
}
102-
return undefined;
103-
},
10495
},
10596
],
10697
],

0 commit comments

Comments
 (0)