From c9acca0218d47226c567da62c4a8bf97691c9b0d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 30 Aug 2024 20:04:29 -0700 Subject: typescript --- src/routes/about/+server.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/routes/about/+server.ts (limited to 'src/routes/about/+server.ts') diff --git a/src/routes/about/+server.ts b/src/routes/about/+server.ts new file mode 100644 index 00000000..eb3d9729 --- /dev/null +++ b/src/routes/about/+server.ts @@ -0,0 +1,5 @@ +import { redirect } from "@sveltejs/kit"; + +export async function GET() { + redirect(307, "/#about"); +} -- cgit v1.2.3