sarlink-portal/middleware.ts
2025-04-05 11:50:39 +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*"],
};