diff --git a/docs/concepts/architechture.md b/docs/concepts/architecture.md similarity index 100% rename from docs/concepts/architechture.md rename to docs/concepts/architecture.md diff --git a/docs/toc.json b/docs/toc.json index 30e3d31..ab89acf 100644 --- a/docs/toc.json +++ b/docs/toc.json @@ -19,7 +19,7 @@ "concepts": { "title": "Concepts", "pages": [ - ["architechture", "Architecture"], + ["architecture", "Architecture"], ["routes", "Routes"], ["islands", "Interactive islands"], ["static-files", "Static files"], diff --git a/www/routes/docs/[...slug].tsx b/www/routes/docs/[...slug].tsx index 8b7baf2..de6c452 100644 --- a/www/routes/docs/[...slug].tsx +++ b/www/routes/docs/[...slug].tsx @@ -31,6 +31,13 @@ export const handler: Handlers = { headers: { location: "/docs/introduction" }, }); } + if (slug === "concepts/architechture") { + return new Response("", { + status: 307, + headers: { location: "/docs/concepts/architecture" }, + }); + } + const entry = TABLE_OF_CONTENTS[slug]; if (!entry) { return ctx.renderNotFound();