Falsify / vercel.json
Aaryan Kumar
deploy to hugging face
1605cbb
Raw
History Blame Contribute Delete
557 Bytes
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"comment": "Vercel serves ONLY the static frontend (static/). The backend (API + SSE) lives on Render; set window.__API_BASE__ in static/config.js to the Render URL before deploying. Vercel cannot host the SSE stream itself (serverless functions can't hold long-lived connections) — see DEPLOYMENT.md.",
"buildCommand": "echo 'no build — static files served as-is'",
"outputDirectory": "static",
"cleanUrls": true,
"rewrites": [
{ "source": "/", "destination": "/index.html" }
]
}