We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d270f34 commit db131bfCopy full SHA for db131bf
apps/coderum-dev/src/app/api/trpc/[trpc]/route.ts
@@ -5,7 +5,7 @@ import { env } from '@/env';
5
import { appRouter } from '@/server/api/root';
6
import { createTRPCContext } from '@/server/api/trpc';
7
8
-export const runtime = 'edge';
+export const config = { runtime: 'edge' };
9
10
/**
11
* This wraps the `createTRPCContext` helper and provides the required context for the tRPC API when
apps/coderum-dev/src/app/page.tsx
@@ -1,6 +1,7 @@
1
import Link from 'next/link';
2
3
import { api } from '@/trpc/server';
4
+
export const runtime = 'edge';
export default async function Home() {
0 commit comments