fix: typo (#397)
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
"concepts": {
|
"concepts": {
|
||||||
"title": "Concepts",
|
"title": "Concepts",
|
||||||
"pages": [
|
"pages": [
|
||||||
["architechture", "Architecture"],
|
["architecture", "Architecture"],
|
||||||
["routes", "Routes"],
|
["routes", "Routes"],
|
||||||
["islands", "Interactive islands"],
|
["islands", "Interactive islands"],
|
||||||
["static-files", "Static files"],
|
["static-files", "Static files"],
|
||||||
|
|||||||
@@ -31,6 +31,13 @@ export const handler: Handlers<Data> = {
|
|||||||
headers: { location: "/docs/introduction" },
|
headers: { location: "/docs/introduction" },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (slug === "concepts/architechture") {
|
||||||
|
return new Response("", {
|
||||||
|
status: 307,
|
||||||
|
headers: { location: "/docs/concepts/architecture" },
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const entry = TABLE_OF_CONTENTS[slug];
|
const entry = TABLE_OF_CONTENTS[slug];
|
||||||
if (!entry) {
|
if (!entry) {
|
||||||
return ctx.renderNotFound();
|
return ctx.renderNotFound();
|
||||||
|
|||||||
Reference in New Issue
Block a user