Fix API base URL for unified container setup

This commit is contained in:
Claude
2026-01-26 18:04:27 +00:00
parent e0eb65810a
commit f0ea7df6b7
+4 -2
View File
@@ -5,8 +5,10 @@
class ApiService { class ApiService {
constructor() { constructor() {
// Backend API base URL - adjust for your deployment // Backend API base URL
this.baseUrl = window.API_BASE_URL || '/api'; // In unified container: empty string (same origin)
// With separate nginx frontend: '/api' (proxied to backend)
this.baseUrl = window.API_BASE_URL || '';
} }
/** /**