mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
qoc
This commit is contained in:
@ -8,7 +8,6 @@ declare global {
|
||||
const prisma = globalThis.client || new PrismaClient();
|
||||
|
||||
// Save for reuse in dev environment to avoid many client instances in dev where restart and reloads
|
||||
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
globalThis.client = prisma;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user