vision_ai / vercel.json
arvind112's picture
Expose FastAPI REST API on Space and prepare Vercel static frontend
839c48d
Raw History Blame Contribute Delete
325 Bytes
{
"framework": "vite",
"installCommand": "cd frontend && npm install",
"buildCommand": "cd frontend && npm run build",
"outputDirectory": "frontend/dist",
"env": {
"VITE_API_BASE_URL": "https://arvind112-vision-ai.hf.space/api"
},
"rewrites": [
{ "source": "/(.*)", "destination": "/index.html" }
]
}