Merge pull request #25 from outis1one/claude/migrate-to-minipaint-eYKWf

Fix API base URL for unified container setup
This commit is contained in:
outis1one
2026-01-26 13:05:26 -05:00
committed by GitHub
+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 || '';
}
/**