aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-07-21 10:43:00 -0500
committerDhravya Shah <[email protected]>2024-07-21 10:43:00 -0500
commit2dca0d0a7963343c27a4d494fc78df5e7abfa337 (patch)
tree3c53c8ea86d62679dbf1445643607a4dec1814e7
parent/chat page redirects back to home (diff)
downloadsupermemory-2dca0d0a7963343c27a4d494fc78df5e7abfa337.tar.xz
supermemory-2dca0d0a7963343c27a4d494fc78df5e7abfa337.zip
fix: oopsies, not default function
-rw-r--r--apps/web/app/(dash)/chat/route.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/app/(dash)/chat/route.ts b/apps/web/app/(dash)/chat/route.ts
index 6599590c..94f250ff 100644
--- a/apps/web/app/(dash)/chat/route.ts
+++ b/apps/web/app/(dash)/chat/route.ts
@@ -1,5 +1,5 @@
import { redirect } from "next/navigation";
-export default async function GET() {
+export async function GET() {
return redirect("/home");
}