mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
fix: update logger configuration to disable in production environment
Change the logger's disabled property to be dependent on the NODE_ENV variable, ensuring logging is disabled in production for improved performance and security.
This commit is contained in:
@@ -76,7 +76,7 @@ const { handler, api } = betterAuth({
|
||||
},
|
||||
},
|
||||
logger: {
|
||||
disabled: false,
|
||||
disabled: process.env.NODE_ENV === "production",
|
||||
},
|
||||
async trustedOrigins() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user