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 {
|
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 || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user