Skip to content

Commit db131bf

Browse files
committed
test build
1 parent d270f34 commit db131bf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/coderum-dev/src/app/api/trpc/[trpc]/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { env } from '@/env';
55
import { appRouter } from '@/server/api/root';
66
import { createTRPCContext } from '@/server/api/trpc';
77

8-
export const runtime = 'edge';
8+
export const config = { runtime: 'edge' };
99

1010
/**
1111
* This wraps the `createTRPCContext` helper and provides the required context for the tRPC API when

apps/coderum-dev/src/app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Link from 'next/link';
22

33
import { api } from '@/trpc/server';
4+
45
export const runtime = 'edge';
56

67
export default async function Home() {

0 commit comments

Comments
 (0)