Download frontend/src/app/api/caption-templates/route.ts from new-arc/vector: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/app/api/caption-templates/route.ts
- Command line
-
hf download hf://spaces/new-arc/vector/frontend/src/app/api/caption-templates/route.ts
-
curl -L -o route.ts https://huggingface.co/spaces/new-arc/vector/resolve/main/frontend/src/app/api/caption-templates/route.ts
202 Bytes
| import { createProxyResponse, fetchBackend } from "@/server/backend-api"; | |
| export async function GET() { | |
| return createProxyResponse(await fetchBackend("/caption-templates", { cache: "no-store" })); | |
| } | |