diff --git a/app/routes/_layout.join.tsx b/app/routes/_layout.join.tsx index 931792cf..a2a031c9 100644 --- a/app/routes/_layout.join.tsx +++ b/app/routes/_layout.join.tsx @@ -59,6 +59,8 @@ export const handle: Handle = { breadcrumb: () => sign up, } +export const config = { runtime: 'nodejs' } + export async function loader({ request }: LoaderArgs) { const userId = await getUserId(request) if (userId) return redirect('/') diff --git a/app/routes/_layout.login.tsx b/app/routes/_layout.login.tsx index 27070700..2430b9cf 100644 --- a/app/routes/_layout.login.tsx +++ b/app/routes/_layout.login.tsx @@ -36,6 +36,8 @@ export const handle: Handle = { breadcrumb: () => login, } +export const config = { runtime: 'nodejs' } + export async function loader({ request }: LoaderArgs) { const userId = await getUserId(request) if (userId) return redirect('/')