correction nextconfig

This commit is contained in:
2026-02-28 19:58:29 +01:00
parent 1efdd763ac
commit 707d2127e6
2 changed files with 2 additions and 9 deletions

View File

@@ -1,9 +0,0 @@
# Server-only
GEMINI_API_KEY=AIzaSyBjMxaRq4psBbvtdks0iYGkv-r9midKSh4
# Database — Replace with your actual PostgreSQL URL (e.g. from Neon, Supabase, or local)
DATABASE_URL="postgresql://admin:adminpassword@192.168.1.25:5432/plumeia?schema=public"
# NextAuth
AUTH_SECRET="change-me-to-a-random-string-at-least-32-chars"

View File

@@ -1,9 +1,11 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
serverExternalPackages: ["@prisma/client", "bcrypt", "bcryptjs"],
typescript: { typescript: {
// NextAuth v5 beta handlers have type mismatches with Next.js 15 // NextAuth v5 beta handlers have type mismatches with Next.js 15
// Remove this when next-auth v5 stable releases // Remove this when next-auth v5 stable releases
ignoreBuildErrors: true, ignoreBuildErrors: true,
}, },
}; };