Download frontend/src/app/api/auth/[...all]/route.ts from new-arc/vector: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/app/api/auth/%5B...all%5D/route.ts
- Command line
-
hf download 'hf://spaces/new-arc/vector/frontend/src/app/api/auth/[...all]/route.ts'
-
curl -L -o route.ts https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/app/api/auth/%5B...all%5D/route.ts
151 Bytes
| import { auth } from "@/lib/auth"; | |
| import { toNextJsHandler } from "better-auth/next-js"; | |
| export const { GET, POST } = toNextJsHandler(auth.handler); | |