Docs: add redirect from /usage/introduction to /usage/setup
Co-Authored-By: Craft Agent <agents-noreply@craft.do>
This commit is contained in:
co-authored by
Craft Agent
parent
aca162f9c8
commit
5873baad3c
@@ -0,0 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect } from "react";
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
export default function Page() {
|
||||
const router = useRouter();
|
||||
useEffect(() => {
|
||||
router.replace("/usage/setup/");
|
||||
}, [router]);
|
||||
return null;
|
||||
}
|
||||
@@ -9,4 +9,9 @@ export const redirectsConfig = [
|
||||
destination: "/start",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/usage/introduction",
|
||||
destination: "/usage/setup",
|
||||
permanent: true,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user