Skip to content

Commit

Permalink
test build
Browse files Browse the repository at this point in the history
  • Loading branch information
cungminh2710 committed Apr 30, 2024
1 parent d270f34 commit db131bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/coderum-dev/src/app/api/trpc/[trpc]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { env } from '@/env';
import { appRouter } from '@/server/api/root';
import { createTRPCContext } from '@/server/api/trpc';

export const runtime = 'edge';
export const config = { runtime: 'edge' };

/**
* This wraps the `createTRPCContext` helper and provides the required context for the tRPC API when
Expand Down
1 change: 1 addition & 0 deletions apps/coderum-dev/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Link from 'next/link';

import { api } from '@/trpc/server';

export const runtime = 'edge';

export default async function Home() {
Expand Down

0 comments on commit db131bf

Please sign in to comment.