We have refactored the NextAuth configuration to be edge-compatible, removing dependencies like the Prisma adapter that are incompatible with Vercel's Edge Runtime. This change ensures that our authentication and route protection logic can run efficiently within Edge Middleware. This is a significant improvement for performance and deployment stability. Migrated to edge-safe NextAuth config

Migrated to edge-safe NextAuth configuration for improved middleware reliability - subh05sus/Corvin