import type { Handlers } from "@fresh/core/compat"; export const handler: Handlers = { GET(ctx) { const slug = ctx.params.slug; if (slug === "concepts/architechture") { return new Response("", { status: 307, headers: { location: "/docs/concepts/architecture" }, }); } return new Response("", { status: 307, headers: { location: "/docs/introduction" }, }); }, };