{ "$schema": "https://openapi.vercel.sh/vercel.json", "regions": ["sin1"], "services": { "backend": { "root": "backend", "framework": "fastapi", "entrypoint": "main:app", "functions": { "main.py": { "maxDuration": 300 } } }, "frontend": { "root": "frontend", "framework": "vite" } }, "rewrites": [ { "source": "/api/(.*)", "destination": { "service": "backend" } }, { "source": "/health", "destination": { "service": "backend" } }, { "source": "/(.*)", "destination": { "service": "frontend" } } ] }