11 lines
394 B
TypeScript
11 lines
394 B
TypeScript
import { NextResponse } from 'next/server'
|
|
import type { NextRequest } from 'next/server'
|
|
|
|
// No-op auth guard — NextAuth.js drops in here when SaaS multi-user launches
|
|
// Next.js 16: renamed from `middleware()` to `proxy()`
|
|
export function proxy(request: NextRequest) {
|
|
return NextResponse.next()
|
|
}
|
|
|
|
export const config = { matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'] }
|