Brijesh's Git Server — argus-web @ fd843b172d679a1b2a32ad4430829b41c65f015f

Web Ul for argus

src/middleware.js (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
import { NextResponse } from "next/server";

export function middleware(request) {
  // We'll handle auth checks in the components instead
  return NextResponse.next();
}

export const config = {
  matcher: ["/dashboard/:path*", "/login", "/register"],
};