Authentication And Serive Engineer Portal is added

This commit is contained in:
2026-07-18 13:44:32 +05:30
parent 3222da96ab
commit a0426e8c8a
17 changed files with 762 additions and 221 deletions

11
middleware.ts Normal file
View File

@@ -0,0 +1,11 @@
import { withAuth } from "next-auth/middleware"
export default withAuth({
pages: {
signIn: "/login",
},
})
export const config = {
matcher: ["/dashboard/:path*"],
}