diff --git a/app/(main)/page.tsx b/app/(main)/page.tsx index 680118f..51f769b 100644 --- a/app/(main)/page.tsx +++ b/app/(main)/page.tsx @@ -5,6 +5,8 @@ import { Suspense } from "react"; import ServerGlobal from "./ClientComponents/Global"; import GlobalLoading from "./ClientComponents/GlobalLoading"; +export const runtime = "edge"; + export default async function Home({ searchParams, }: { diff --git a/app/not-found.tsx b/app/not-found.tsx index bcb89aa..18c69b2 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -4,6 +4,8 @@ import Link from "next/link"; import Footer from "./(main)/footer"; import Header from "./(main)/header"; +export const runtime = "edge"; + export default function NotFoundPage() { const t = useTranslations("NotFoundPage"); return (