feat: change the default path to /chat

This commit is contained in:
Li Xin
2025-04-26 20:28:30 +08:00
parent f218f29ec8
commit 6e760a277c
4 changed files with 103 additions and 82 deletions

View File

@@ -3,15 +3,8 @@
"use client";
import dynamic from "next/dynamic";
import { Suspense } from "react";
const App = dynamic(() => import("./app"), { ssr: false });
import { redirect } from "next/navigation";
export default function HomePage() {
return (
<Suspense fallback={<div>Loading DeerFlow...</div>}>
<App />
</Suspense>
);
redirect("/chat");
}