Running in NextJS Middleware #1758
-
Hello, I'm using NextJS 13 with NextAuth and calling Drizzle queries using the pg driver from the server side in the next auth middleware. I'm getting this error? Can Drizzle/pg run in NextJS middleware?
|
Beta Was this translation helpful? Give feedback.
Answered by
Minisaints
Jan 6, 2024
Replies: 1 comment
-
Edit: It seems that pg driver isn't edge compatible. Postgresjs works. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Minisaints
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit: It seems that pg driver isn't edge compatible. Postgresjs works.