Download frontend/vercel.json from ilhamdev/quote-api: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/spaces/ilhamdev/quote-api/resolve/main/frontend/vercel.json
- Command line
-
hf download hf://spaces/ilhamdev/quote-api/frontend/vercel.json
-
curl -L -o vercel.json https://huggingface.co/spaces/ilhamdev/quote-api/resolve/main/frontend/vercel.json
1.41 kB
| { | |
| "$schema": "https://openapi.vercel.sh/vercel.json", | |
| "rewrites": [ | |
| { | |
| "source": "/generate", | |
| "destination": "https://ilhamdev-quote-api.hf.space/" | |
| }, | |
| { | |
| "source": "/status", | |
| "destination": "https://ilhamdev-quote-api.hf.space/status" | |
| }, | |
| { | |
| "source": "/api/generate", | |
| "destination": "https://ilhamdev-quote-api.hf.space/" | |
| }, | |
| { | |
| "source": "/api/status", | |
| "destination": "https://ilhamdev-quote-api.hf.space/status" | |
| }, | |
| { | |
| "source": "/api", | |
| "destination": "https://ilhamdev-quote-api.hf.space/" | |
| }, | |
| { | |
| "source": "/api/:path*", | |
| "destination": "https://ilhamdev-quote-api.hf.space/:path*" | |
| } | |
| ], | |
| "headers": [ | |
| { | |
| "source": "/(.*)", | |
| "headers": [ | |
| { | |
| "key": "Access-Control-Allow-Origin", | |
| "value": "*" | |
| }, | |
| { | |
| "key": "Access-Control-Allow-Methods", | |
| "value": "GET, POST, OPTIONS" | |
| }, | |
| { | |
| "key": "Access-Control-Allow-Headers", | |
| "value": "Content-Type, Authorization, X-Requested-With" | |
| }, | |
| { | |
| "key": "X-Content-Type-Options", | |
| "value": "nosniff" | |
| }, | |
| { | |
| "key": "X-Frame-Options", | |
| "value": "SAMEORIGIN" | |
| }, | |
| { | |
| "key": "X-XSS-Protection", | |
| "value": "1; mode=block" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |