Skip to content

Commit 2cda349

Browse files
committed
fix: fix redirects for v13
1 parent 623c75d commit 2cda349

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const config: Config = {
9393
const redirects: string[] = [];
9494

9595
// Builder section: redirect old root-level paths to new /builder/ paths
96-
if (existingPath === "/builder/") {
96+
if (existingPath === "/builder" || existingPath === "/builder/") {
9797
redirects.push("/intro");
9898
}
9999
if (existingPath.startsWith("/builder/quick-start")) {

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Redirect } from "@docusaurus/router";
22

33
export default function Home() {
4-
return <Redirect to="/intro" />;
4+
return <Redirect to="/builder" />;
55
}

0 commit comments

Comments
 (0)