middleware.ts 466 B

123456789101112131415
  1. import { NextResponse, type NextRequest } from "next/server";
  2. /**
  3. * Auth proxy is implemented as app/api/auth/[...path]/route.ts (not here).
  4. * Middleware only needs to exist for other portal concerns later.
  5. * Keep this pass-through so we never double-proxy or drop bodies.
  6. */
  7. export function middleware(_req: NextRequest) {
  8. return NextResponse.next();
  9. }
  10. export const config = {
  11. // Match nothing for now — route handler owns /api/auth/*
  12. matcher: [],
  13. };