Spaces:
Build error
Build error
Download vercel.json from akoulapure/cattle-classiier-code: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/spaces/akoulapure/cattle-classiier-code/resolve/main/vercel.json
- Command line
-
hf download hf://spaces/akoulapure/cattle-classiier-code/vercel.json
-
curl -L -o vercel.json https://huggingface.co/spaces/akoulapure/cattle-classiier-code/resolve/main/vercel.json
493 Bytes
| { | |
| "version": 2, | |
| "builds": [ | |
| { | |
| "src": "frontend/package.json", | |
| "use": "@vercel/static-build", | |
| "config": { | |
| "distDir": "dist" | |
| } | |
| }, | |
| { | |
| "src": "api/index.py", | |
| "use": "@vercel/python" | |
| } | |
| ], | |
| "routes": [ | |
| { | |
| "src": "/api/(.*)", | |
| "dest": "api/index.py" | |
| }, | |
| { | |
| "src": "/assets/(.*)", | |
| "dest": "frontend/dist/assets/$1" | |
| }, | |
| { | |
| "src": "/(.*)", | |
| "dest": "frontend/dist/index.html" | |
| } | |
| ] | |
| } | |