Merge pull request #25 from outis1one/claude/migrate-to-minipaint-eYKWf
Fix API base URL for unified container setup
This commit is contained in:
@@ -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 || '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user