Download src/middleware.ts from sarransh/task-manager-system: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/spaces/sarransh/task-manager-system/resolve/main/src/middleware.ts
- Command line
-
hf download hf://spaces/sarransh/task-manager-system/src/middleware.ts
-
curl -L -o middleware.ts https://huggingface.co/spaces/sarransh/task-manager-system/resolve/main/src/middleware.ts
359 Bytes
| import { withAuth } from "next-auth/middleware"; | |
| export default withAuth({ | |
| pages: { | |
| signIn: "/auth/signin", | |
| }, | |
| }); | |
| export const config = { | |
| matcher: [ | |
| "/dashboard/:path*", | |
| "/sprints/:path*", | |
| "/tasks/:path*", | |
| "/scrum/:path*", | |
| "/settings/:path*", | |
| "/admin/:path*", | |
| ], | |
| }; | |