forked from XiaoMo/ChatGPT-Next-Web
21 lines
375 B
TypeScript
21 lines
375 B
TypeScript
import { Analytics } from "@vercel/analytics/react";
|
|
|
|
import { Home } from "./components/home";
|
|
|
|
import { getServerSideConfig } from "./config/server";
|
|
|
|
const serverConfig = getServerSideConfig();
|
|
|
|
export default async function App() {
|
|
return (
|
|
<>
|
|
<Home />
|
|
{serverConfig?.isVercel && (
|
|
<>
|
|
<Analytics />
|
|
</>
|
|
)}
|
|
</>
|
|
);
|
|
}
|