This commit is contained in:
2026-03-12 19:59:59 -05:00
parent 7886d60827
commit 1d7c564c4a
3 changed files with 5 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
output: "standalone", output: "standalone",
serverExternalPackages: ["@prisma/client"], serverExternalPackages: ["@prisma/client", "prisma"],
}; };
export default nextConfig; export default nextConfig;

View File

@@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build --no-turbo",
"start": "next start", "start": "next start",
"lint": "eslint" "lint": "eslint"
}, },

View File

@@ -1,4 +1,7 @@
import NextAuth from "next-auth"; import NextAuth from "next-auth";
export const dynamic = "force-dynamic";
export const runtime = "nodejs";
import { authOptions } from "@/lib/auth"; import { authOptions } from "@/lib/auth";
const handler = NextAuth(authOptions); const handler = NextAuth(authOptions);