Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRouyer committed Sep 9, 2023
1 parent 0de42f2 commit 41a8b93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { GET, POST } from '@cs/auth';

export const runtime = 'nodejs';
export const runtime = 'edge';
2 changes: 1 addition & 1 deletion apps/customer-service/src/app/api/trpc/[trpc]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fetchRequestHandler } from '@trpc/server/adapters/fetch';
import { appRouter, createTRPCContext } from '@cs/api';
import { auth } from '@cs/auth';

export const runtime = 'nodejs';
export const runtime = 'edge';

/**
* Configure basic CORS headers
Expand Down
2 changes: 1 addition & 1 deletion apps/customer-service/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { auth } from '@cs/auth';

import { SignIn } from '~/components/sign-in';

export const runtime = 'nodejs';
export const runtime = 'edge';

export default async function HomePage() {
const session = await auth();
Expand Down

0 comments on commit 41a8b93

Please sign in to comment.