Spaces:
Runtime error
Runtime error
Download frontend/src/constants.ts from Wauplin/docker-space-fastapi-react: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/spaces/Wauplin/docker-space-fastapi-react/resolve/main/frontend/src/constants.ts
- Command line
-
hf download hf://spaces/Wauplin/docker-space-fastapi-react/frontend/src/constants.ts
-
curl -L -o constants.ts https://huggingface.co/spaces/Wauplin/docker-space-fastapi-react/resolve/main/frontend/src/constants.ts
295 Bytes
| // Environment-based configuration constants | |
| export const BACKEND_URL: string = | |
| import.meta.env.VITE_BACKEND_URL || "http://127.0.0.1:8000"; | |
| // App configuration | |
| export const APP_CONFIG = { | |
| HEALTH_CHECK_INTERVAL: 10000, // 10 seconds | |
| } as const; | |
| export type AppConfig = typeof APP_CONFIG; | |