Spaces:
Paused
Paused
Download app/api/check-vite-errors/route.ts from Leon4gr45/paper2code-cli: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/Leon4gr45/paper2code-cli/resolve/main/app/api/check-vite-errors/route.ts
- Command line
-
hf download hf://spaces/Leon4gr45/paper2code-cli/app/api/check-vite-errors/route.ts
-
curl -L -o route.ts https://huggingface.co/spaces/Leon4gr45/paper2code-cli/resolve/main/app/api/check-vite-errors/route.ts
341 Bytes
| import { NextResponse } from 'next/server'; | |
| // Stub endpoint to prevent 404 errors | |
| // This endpoint is being called but the source is unknown | |
| // Returns empty errors array to satisfy any calling code | |
| export async function GET() { | |
| return NextResponse.json({ | |
| success: true, | |
| errors: [], | |
| message: 'No Vite errors detected' | |
| }); | |
| } |