Mark NextAuth route as dynamic to prevent build-time data collection
This commit is contained in:
parent
df9e61554a
commit
e5be9476a4
@ -1,3 +1,7 @@
|
||||
import { handlers } from "@/lib/auth"
|
||||
|
||||
// Mark this route as dynamic to prevent build-time data collection
|
||||
// NextAuth requires runtime environment variables and cannot be pre-rendered
|
||||
export const dynamic = "force-dynamic"
|
||||
|
||||
export const { GET, POST } = handlers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user