mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
fix: remove workaround for prisma as prisma is included in external packages by default
This commit is contained in:
parent
4453fc4534
commit
689e440373
2 changed files with 1 additions and 7 deletions
|
|
@ -11,10 +11,7 @@ import { db } from "@/lib/db"
|
|||
const postmarkClient = new Client(env.POSTMARK_API_TOKEN)
|
||||
|
||||
export const authOptions: NextAuthOptions = {
|
||||
// huh any! I know.
|
||||
// This is a temporary fix for prisma client.
|
||||
// @see https://github.com/prisma/prisma/issues/16117
|
||||
adapter: PrismaAdapter(db as any),
|
||||
adapter: PrismaAdapter(db),
|
||||
session: {
|
||||
strategy: "jwt",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@ const nextConfig = {
|
|||
},
|
||||
],
|
||||
},
|
||||
experimental: {
|
||||
serverComponentsExternalPackages: ["@prisma/client"],
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = withContentlayer(nextConfig)
|
||||
|
|
|
|||
Loading…
Reference in a new issue