Files
sarlink-portal/middleware.ts
i701 9b2f2c1528
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 11m8s
add admin checks for admin pages and run biome formating 🔨
2025-07-25 13:31:12 +05:00

11 lines
267 B
TypeScript

import { withAuth } from "next-auth/middleware";
export default withAuth(
// `withAuth` augments your `Request` with the user's token.
function middleware(req) {},
);
export const config = {
matcher: ["/about/:path*", "/dashboard/:path*", "/devices/:path*"],
};