Download next.js/examples/auth/middleware.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/auth/middleware.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/auth/middleware.ts
-
curl -L -o middleware.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/auth/middleware.ts
189 Bytes
| export { auth as default } from "./auth"; | |
| // Optionally, don't invoke Middleware on some paths | |
| export const config = { | |
| matcher: ["/((?!api|_next/static|_next/image|favicon.ico).*)"], | |
| }; | |