39246-vm/frontend/proxy.ts
abbashkyt-creator 7d8ce0e322 V0.1
2026-03-14 04:02:22 +03:00

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).*)'] }