mirror of
https://github.com/gosticks/fresh.git
synced 2026-07-01 22:00:03 +00:00
fix: typo (#397)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
"concepts": {
|
||||
"title": "Concepts",
|
||||
"pages": [
|
||||
["architechture", "Architecture"],
|
||||
["architecture", "Architecture"],
|
||||
["routes", "Routes"],
|
||||
["islands", "Interactive islands"],
|
||||
["static-files", "Static files"],
|
||||
|
||||
@@ -31,6 +31,13 @@ export const handler: Handlers<Data> = {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user