diff --git a/next.config.ts b/next.config.ts index ea10111f..5975ae40 100644 --- a/next.config.ts +++ b/next.config.ts @@ -44,9 +44,6 @@ const nextConfig: NextConfig = { eslint: { ignoreDuringBuilds: true, }, - compiler: { - removeConsole: process.env.NODE_ENV === "production", - }, experimental: { nodeMiddleware: true, }, diff --git a/src/db/index.ts b/src/db/index.ts index f927b9b7..f4e441f3 100644 --- a/src/db/index.ts +++ b/src/db/index.ts @@ -37,7 +37,7 @@ export const schemas = { export const db = drizzle({ client: pool, - // logger: true, + logger: process.env.NODE_ENV != 'production', schema: schemas, });