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 {
constructor() {
// Backend API base URL - adjust for your deployment
this.baseUrl = window.API_BASE_URL || '/api';
// Backend API base URL
// In unified container: empty string (same origin)
// With separate nginx frontend: '/api' (proxied to backend)
this.baseUrl = window.API_BASE_URL || '';
}
/**