diff --git a/app/api/edge/[trpc]/route.ts b/app/api/edge/[trpc]/route.ts index f44744074..9534adc53 100644 --- a/app/api/edge/[trpc]/route.ts +++ b/app/api/edge/[trpc]/route.ts @@ -16,6 +16,5 @@ const handlerEdgeRoutes = (req: Request) => fetchRequestHandler({ // NOTE: we don't set maxDuration explicitly here - however we set it in the Vercel project settings, raising to the limit of 300s // export const maxDuration = 60; -export const runtime = 'nodejs'; -export const dynamic = 'force-dynamic'; +export const runtime = 'edge'; export { handlerEdgeRoutes as GET, handlerEdgeRoutes as POST }; \ No newline at end of file