Spaces:
Sleeping
Sleeping
Download vercel.json from agus1111/Perps-Terminal: direct link, hf CLI and curl.
- Browser
- Download file 698 Bytes
-
https://huggingface.co/spaces/agus1111/Perps-Terminal/resolve/main/vercel.json
- Command line
-
hf download hf://spaces/agus1111/Perps-Terminal/vercel.json
-
curl -L -o vercel.json https://huggingface.co/spaces/agus1111/Perps-Terminal/resolve/main/vercel.json
698 Bytes
| { | |
| "$schema": "https://openapi.vercel.sh/vercel.json", | |
| "regions": ["sin1"], | |
| "services": { | |
| "backend": { | |
| "root": "backend", | |
| "framework": "fastapi", | |
| "entrypoint": "main:app", | |
| "functions": { | |
| "main.py": { | |
| "maxDuration": 300 | |
| } | |
| } | |
| }, | |
| "frontend": { | |
| "root": "frontend", | |
| "framework": "vite" | |
| } | |
| }, | |
| "rewrites": [ | |
| { | |
| "source": "/api/(.*)", | |
| "destination": { | |
| "service": "backend" | |
| } | |
| }, | |
| { | |
| "source": "/health", | |
| "destination": { | |
| "service": "backend" | |
| } | |
| }, | |
| { | |
| "source": "/(.*)", | |
| "destination": { | |
| "service": "frontend" | |
| } | |
| } | |
| ] | |
| } | |