Skip to content

An AI-powered search engine with a generative UI

Update maxDuration in search page

Yoshiki Miura1f7d65c05ecb
diff --git a/app/search/[id]/page.tsx b/app/search/[id]/page.tsx
index 7feeab66..3defb33c 100644
--- a/app/search/[id]/page.tsx
+++ b/app/search/[id]/page.tsx
@@ -3,7 +3,7 @@ import { Chat } from '@/components/chat'
import { getChat } from '@/lib/actions/chat'
import { AI } from '@/app/actions'
-export const runtime = 'edge'
+export const maxDuration = 30
export interface SearchPageProps {
params: {