Migrate middleware.ts to proxy.ts for Next.js 16 and fix build errors
Next.js 16 renamed middleware to proxy. Merged session-based auth and API key auth into a single proxy.ts. Also fixed: auth route handler exports, missing card component, Button asChild type errors, signIn return type, Drizzle eq() type narrowing, and useSearchParams suspense boundary. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
76cb49e908
commit
3e242c3359
9 changed files with 176 additions and 110 deletions
|
|
@ -1 +1,2 @@
|
|||
export { GET, POST } from "@/auth";
|
||||
import { handlers } from "@/auth";
|
||||
export const { GET, POST } = handlers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue