Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
// API Configuration | |
const API_CONFIG = { | |
// Use the current origin in production and development | |
// This ensures requests are always routed through the Express server | |
// which will proxy them to the backend | |
BASE_URL: window.location.origin, | |
}; | |
export default API_CONFIG; | |