|
|
@@ -4,6 +4,10 @@ class AllocationService {
|
|
|
BASE_URL = process.env.BASE_URL || '{PLACEHOLDER_BASE_URL}';
|
|
|
|
|
|
async fetchAllocation(win, aggregate, options) {
|
|
|
+ if (this.BASE_URL === '{PLACEHOLDER_BASE_URL}') {
|
|
|
+ this.BASE_URL = `http://localhost:9090/model`
|
|
|
+ }
|
|
|
+
|
|
|
const { accumulate, filters, } = options;
|
|
|
const params = {
|
|
|
window: win,
|