summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/api.js b/frontend/src/api.js
index a53ed90..dfe9dff 100644
--- a/frontend/src/api.js
+++ b/frontend/src/api.js
@@ -2,7 +2,7 @@
* API client for the LLM Council backend.
*/
-const API_BASE = 'http://localhost:8001';
+const API_BASE = window.location.hostname === 'localhost' ? 'http://localhost:8001' : '';
export const api = {
/**