Spaces:
Sleeping
Sleeping
Download apps/api/src/controllers/v0/readiness.ts from s-eto-hub/firecrawl-api: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/src/controllers/v0/readiness.ts
- Command line
-
hf download hf://spaces/s-eto-hub/firecrawl-api/apps/api/src/controllers/v0/readiness.ts
-
curl -L -o readiness.ts https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/src/controllers/v0/readiness.ts
232 Bytes
| import { Request, Response } from "express"; | |
| export async function readinessController(req: Request, res: Response) { | |
| // TODO: add checks when the application is ready to serve traffic | |
| res.status(200).json({ status: "ok" }); | |
| } | |