Download vercel.json from Mythus/Staging: direct link, hf CLI and curl.
- Browser
- Download file 950 Bytes
-
https://huggingface.co/spaces/Mythus/Staging/resolve/main/vercel.json
- Command line
-
hf download hf://spaces/Mythus/Staging/vercel.json
-
curl -L -o vercel.json https://huggingface.co/spaces/Mythus/Staging/resolve/main/vercel.json
950 Bytes
| { | |
| "version": 2, | |
| "env": {}, | |
| "builds": [ | |
| { | |
| "src": "api/dist/index.js", | |
| "use": "@vercel/node", | |
| "config": { | |
| "includeFiles": ["api/dist/**"], | |
| "excludeFiles": [ | |
| "web/**", | |
| "android/**", | |
| "docs/**", | |
| "docker/**", | |
| "press/**", | |
| "electron/**", | |
| "integrations/**" | |
| ] | |
| } | |
| }, | |
| { | |
| "src": "web/build/**", | |
| "use": "@vercel/static", | |
| "config": { | |
| "includeFiles": ["web/build/**"], | |
| "excludeFiles": [ | |
| "api/**", | |
| "android/**", | |
| "docs/**", | |
| "docker/**", | |
| "press/**", | |
| "electron/**", | |
| "integrations/**" | |
| ] | |
| } | |
| } | |
| ], | |
| "routes": [ | |
| { | |
| "src": "/(.*)", | |
| "dest": "api/dist/index.js" | |
| }, | |
| { | |
| "src": "/", | |
| "dest": "web/build/index.html" | |
| }, | |
| { | |
| "src": "/(.+)", | |
| "dest": "web/build/$1" | |
| } | |
| ] | |
| } |