Nephroscreen / frontend /config.js
sadiqM's picture
Point frontend at HF backend via config.js (Cloudflare Pages split deploy)
42ff43e
Raw
History Blame Contribute Delete
333 Bytes
// API location for the frontend.
// When the static frontend is hosted separately (e.g. Cloudflare Pages), point
// it at the Hugging Face Space that runs the FastAPI backend. Leave as "" to use
// the same origin (when the frontend is served by the backend itself).
window.NEPHRO_API_BASE = "https://sadiqm-nephroscreen.hf.space";