Spaces:
Sleeping
Sleeping
Download vercel.json from ALAMDIENG/waste-prediction-api: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/spaces/ALAMDIENG/waste-prediction-api/resolve/main/vercel.json
- Command line
-
hf download hf://spaces/ALAMDIENG/waste-prediction-api/vercel.json
-
curl -L -o vercel.json https://huggingface.co/spaces/ALAMDIENG/waste-prediction-api/resolve/main/vercel.json
328 Bytes
| { | |
| "version": 2, | |
| "cleanUrls": true, | |
| "builds": [ | |
| { "src": "frontend/**", "use": "@vercel/static" } | |
| ], | |
| "routes": [ | |
| { "src": "/static/(.*)", "dest": "/frontend/$1" }, | |
| { "src": "/api/(.*)", "dest": "https://alamdieng-waste-prediction-api.hf.space/api/$1" }, | |
| { "src": "/(.*)", "dest": "/frontend/$1" } | |
| ] | |
| } | |