more proxy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
export function middleware(request: NextRequest) {
|
||||
export function proxy(request: NextRequest) {
|
||||
// Simple check for auth routes or static files
|
||||
if (
|
||||
request.nextUrl.pathname.startsWith('/api/auth') ||
|
||||
Reference in New Issue
Block a user