10 lines
265 B
TypeScript
10 lines
265 B
TypeScript
import { define } from "../../utils/state.ts";
|
|
|
|
export const handler = define.handlers({
|
|
GET(ctx) {
|
|
return ctx.url.pathname === "/concepts/architechture"
|
|
? ctx.redirect("/docs/concepts/architecture")
|
|
: ctx.redirect("/docs/introduction");
|
|
},
|
|
});
|