Download ui/src/app/api/auth/route.ts from michaelu0826/ai_toolkit_code: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/datasets/michaelu0826/ai_toolkit_code/resolve/main/ui/src/app/api/auth/route.ts
- Command line
-
hf download hf://datasets/michaelu0826/ai_toolkit_code/ui/src/app/api/auth/route.ts
-
curl -L -o route.ts https://huggingface.co/datasets/michaelu0826/ai_toolkit_code/resolve/main/ui/src/app/api/auth/route.ts
186 Bytes
| import { NextResponse } from 'next/server'; | |
| export async function GET() { | |
| // if this gets hit, auth has already been verified | |
| return NextResponse.json({ isAuthenticated: true }); | |
| } | |