feat: ContactUs Nodemailer
This commit is contained in:
parent
8764222e91
commit
c9ff0b9e08
1 changed files with 6 additions and 6 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { PrismaClient } from "@prisma/client"
|
||||
// import { PrismaClient } from "@/prisma/client"
|
||||
|
||||
declare global {
|
||||
var prisma: PrismaClient | undefined
|
||||
}
|
||||
// declare global {
|
||||
// var prisma: PrismaClient | undefined
|
||||
// }
|
||||
|
||||
export const prisma = globalThis.prisma || new PrismaClient()
|
||||
// export const prisma = globalThis.prisma || new PrismaClient()
|
||||
|
||||
if (process.env.NODE_ENV !== "production") globalThis.prisma = prisma
|
||||
// if (process.env.NODE_ENV !== "production") globalThis.prisma = prisma
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue